Problem printing from novell to solaris PS printer.

Problem printing from novell to solaris PS printer.

Post by krui » Mon, 18 Mar 1996 04:00:00



My agency recently upgraded from SunOS 4.1.3 to Solaris 2.4.  Ever since
the upgrade we have been unable to print postscript files from our Novell
network to our sparc printer.  It seems that the end of each line in the
file contains a ^M (carrot M) which corrupts the postscript
interpretation.  

Could it be that the DOS carriage returns are being converted into carrot
Ms by solaris?  In the lpfilters I've noticed a filter called "catv" that
changes non-printable characters to a printable character.

Any ideas?



Wash Dept of Fish and Wildlife
Olympia WA

 
 
 

Problem printing from novell to solaris PS printer.

Post by Roy Leonar » Wed, 20 Mar 1996 04:00:00



>My agency recently upgraded from SunOS 4.1.3 to Solaris 2.4.  Ever since
>the upgrade we have been unable to print postscript files from our Novell
>network to our sparc printer.  It seems that the end of each line in the
>file contains a ^M (carrot M) which corrupts the postscript
>interpretation.  

>Could it be that the DOS carriage returns are being converted into carrot
>Ms by solaris?  In the lpfilters I've noticed a filter called "catv" that
>changes non-printable characters to a printable character.

>Any ideas?

Two things come to mind.  The first is windows based, and the second
a possible solution to ^Ms

If you are using a MS_windows based program to print, it sometimes
adds a ^D to the start of the postscript file.  If you have any
filtering at all based on recognising this file as a postscript file,
this ^D will mess it up.  If ^D is the first character of your postscript
file coming out of windows, then this is probably the culprit.  To fix
it add "CtrlD=0" to the Postscript section in the win.ini (system.ini).

For more information see the printers.wri in the windows section.

The ^M is the Dos carriage return, I didn't think that this made a
difference to postscript printers, but I am quite likely wrong.  There
are a few programs which remove these, all seem to be called dos2unix.
A version of this comes with PC-NFS.  There are bound to be a few
PD versions.

Hopefully this helps you a little.

--
-==-

Development Engineer            + Tel: +353-1-295-2529
Ferrotec Ltd                    + Fax: +353-1-295-3625
Stillorgan Industrial Park,     +
Stillorgan, Dublin, Ireland     +
-==-

 
 
 

Problem printing from novell to solaris PS printer.

Post by Peter Marel » Fri, 22 Mar 1996 04:00:00




>My agency recently upgraded from SunOS 4.1.3 to Solaris 2.4.  Ever since
>the upgrade we have been unable to print postscript files from our Novell
>network to our sparc printer.  It seems that the end of each line in the
>file contains a ^M (carrot M) which corrupts the postscript
>interpretation.  

>Could it be that the DOS carriage returns are being converted into carrot
>Ms by solaris?  In the lpfilters I've noticed a filter called "catv" that
>changes non-printable characters to a printable character.

>Any ideas?



>Wash Dept of Fish and Wildlife
>Olympia WA

tail -f /var/lp/logs/requests

execute a print request on the pc..

You will see the request and the filter being used "if any"...

You can start debugging from there..
--
The Fulcrum Consulting Group               Peter Marelas - Consultant
12/10-16 Queen St, Melbourne VIC 3000,Australia   Ph: +61-3-9621-2100