Templot Club Archive 2007-2020                             

topic: 3184Colour Printing issue
author remove search highlighting
 
posted: 15 Jan 2018 07:32

from:

JFS
 
United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
I recent bought (at huge expense!) a Xerox Versa Link C405 colour laser printer.  But, selecting the "Print in Colour" menu item brings up an "INVALID REQUEST - Printer is not a colour printer or is not set for printing in colour" message.  But actually it is, and it is.  (and it prints fine from other applications.)   My previous printer was an HP colour laser and that worked alright.

Is there another setting somewhere which I am missing?

Just on minor note, I have to smile when the printer dialogue asks me if it is a "Dot matrix printer"  - the last time I even saw one of those is at least 25 years ago!

Many thanks and best wishes,

Howard

posted: 15 Jan 2018 15:29

from:

Martin Wynne
 
West Of The Severn - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
JFS wrote:
I recent bought (at huge expense!) a Xerox Versa Link C405 colour laser printer.  But, selecting the "Print in Colour" menu item brings up an "INVALID REQUEST - Printer is not a colour printer or is not set for printing in colour" message.  But actually it is, and it is.  (and it prints fine from other applications.)   My previous printer was an HP colour laser and that worked alright.

Is there another setting somewhere which I am missing?
Hi Howard,

Not unless it is somewhere on the printer itself or in the printer driver. There is no other setting in Templot, as indicated by the fact that your previous printer worked ok.

Here is the actual printer detection code in Templot:

colour_depth_bits:=GetDeviceCaps(
                     Printer.Handle,BITSPIXEL)
                   *GetDeviceCaps(
                     Printer.Handle,PLANES);

if colour_depth_bits=1
   then begin
          ...
          'Your current printer is not a colour printer,
           or has not been set for colour printing.'
          ...

It's been like that for over 20 years. Clearly your printer driver is not correctly reporting its capabilities to Windows. Maybe this ancient Windows API stuff is now unnecessary and I should remove it? See:

 http://msdn.microsoft.com/en-us/library/windows/desktop/dd144877(v=vs.85).aspx

Ditto the functions to remove colour fills when printing on a dot-matrix printer or pen plotter?  :)

As I've mentioned once or twice, Templot is now a very old program.

cheers,

Martin.

posted: 15 Jan 2018 16:05

from:

JFS
 
United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Martin Wynne wrote:
As I've mentioned once or twice, Templot is now a very old program.
All the best things are very old - perhaps including you and I !!!

Strange this one - I just ran this bit of BBC BASIC code:-

       _BITSPIXEL  = &C
      _LOGPIXELSX = 88
      _LOGPIXELSY = 90


      SYS "GetDeviceCaps", @prthdc%, _BITSPIXEL  TO bpx%
      SYS "GetDeviceCaps", @prthdc%, _LOGPIXELSX TO dpix%
      SYS "GetDeviceCaps", @prthdc%, _LOGPIXELSY TO dpiy%

      PRINT bpx%
      PRINT dpix%
      PRINT dpiy%

and it did indeed return

1
600
600


the thing is, when I printed the listing out, it printed in colour!

I might ask a question on another Forum, otherwise it looks like B&W templates will have to do from now on - no one sees them in the finished job anyway...

Best Wishes,

Howard

posted: 15 Jan 2018 16:41

from:

Martin Wynne
 
West Of The Severn - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
JFS wrote:
it looks like B&W templates will have to do from now on - no one sees them in the finished job anyway...
Hi Howard,

Not at all. Now I know there is a problem I will add an override:

'Do you want to disregard this and send colour data to the printer anyway?'

But I was hoping not to release another update for several weeks, in order to work on the Companion pages. Maybe I could do a 218c in a day or two -- Godfrey's request for rotated background shapes is niggling me. :?

cheers,

Martin.

posted: 15 Jan 2018 16:51

from:

JFS
 
United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Martin Wynne wrote:

But I was hoping not to release another update for several weeks, in order to work on the Companion pages. Maybe I could do a 218c in a day or two
Hello Martin,

No rush at all!!   I am quite happy to work as-is until whenever you are ready for the next release.

It in no way affects the usefulness of the output. In the meantime, I have sent a request to Xerox Tech support - you might be amused by the reply:-

"Hi,

Yes, it's a driver issue. I would suggest you to install the Xerox Global Driver from http://www.xerox.co.uk
 
Thanks

Nelly "

Yeh, right...

Many thanks and best wishes,

Howard

posted: 15 Jan 2018 17:03

from:

JFS
 
United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
... installed the new driver...
... no difference at all...

I feel another email coming on...

Best wishes,

Howard

posted: 19 Jan 2018 22:00

from:

Martin Wynne
 
West Of The Severn - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Hi Howard,

Will be in 218c:

2_191657_530000000.png2_191657_530000000.png

But I can't test it because I don't have a monochrome printer. :?

regards,

Martin.

posted: 19 Jan 2018 22:44

from:

JFS
 
United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Many thanks for this - as I say please don't rush on my account!!

I also only have a colour printer but mine tells lies so I will test it for you!

Best Wishes,

Howard

posted: 21 Jan 2018 21:35

from:

Martin Wynne
 
West Of The Severn - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Hi Howard,

218c now available.

Your copy of Templot should update automatically if you restart it and follow the instructions.

I would be interested to know if the printer problem is fixed, or if I have introduced some other issues. :?

cheers,

Martin.

posted: 21 Jan 2018 21:36

from:

JFS
 
United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Many thanks Martin - I am running a trial even as we speak!

Best wishes,

Howard

posted: 21 Jan 2018 21:40

from:

JFS
 
United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Seems to work perfectly Martin - again many thanks for that and I do hope you did not rush on my account!

Best wishes,

Howard

posted: 21 Jan 2018 21:50

from:

Martin Wynne
 
West Of The Severn - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Thanks Howard.

Glad to know it is working. :)

Well I did rush a bit, but not specifically because of this. There were some loose ends in the tandems which I wanted to clear up before anyone tripped over them. Also Richard's CSV file.

But unless 218c falls over is some way, I really must now leave coding for a while and get on with the docs.

I did want to include Godrey's rotated background shapes too, but I have left them until next time. On the face of it, it should be a simple thing. But in practice it is a minefield. Everything already gets rotated 90 degrees between the screen and the printed output of course.

cheers,

Martin.

posted: 21 Jan 2018 21:53

from:

JFS
 
United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
I am feeling better now!

Nothing is ever a simple thing in these matters - especially when it looks like it should be...

Keep up the good work.

Howard



Templot Club > Forums > Templot talk > Colour Printing issue
about Templot Club

Templot Companion - User Guide - A-Z Index Templot Explained for beginners Please click: important information for new members and first-time visitors.
indexing link for search engines

back to top of page


Please read this important note about copyright: Unless stated otherwise, all the files submitted to this web site are copyright and the property of the respective contributor. You are welcome to use them for your own personal non-commercial purposes, and in your messages on this web site. If you want to publish any of this material elsewhere or use it commercially, you must first obtain the owner's permission to do so.
The small print: All material submitted to this web site is the responsibility of the respective contributor. By submitting material to this web site you acknowledge that you accept full responsibility for the material submitted. The owner of this web site is not responsible for any content displayed here other than his own contributions. The owner of this web site may edit, modify or remove any content at any time without giving notice or reason. Problems with this web site? Contact webmaster@templot.com.   This web site uses cookies: click for information.  
© 2020  

Powered by UltraBB - © 2009 Data 1 Systems