On Thursday 09 August 2001 08:45, Kurt Wall wrote:
> In the last episode, we heard Mike Andrew say:
> > can someone help me please. if i try and print (via ghostview) to my
> > laserjet, the printer just blinks at me. I have no trouble printing in
> > general, just (apparently) massaged postrcrpt files.
>
> When a printer winks at you, be afraid, be very afraid.
>
> > i thought enscript passed thru postcript as is?
>
> I've had no trouble. Anything interesting in the log or from lpc? Then
> again, I only use enscript for sending text to a Postscript. What
> about plain old "lpr my_pdf_file.ps". This works for me.
>
> Kurt

I've had this problem off and on with various files.  I finally dug in and 
found the reason (for me at least) when dosemu refused to print anything from 
one of my apps.

The app was sending a binary zero as the first byte of the print file.  That 
was all it took..  I guess it farkled the printer to the point where it just 
passed any remaining data.

I wrote a filter to take out any binary zeros found in the file.

What I did to find the problem was to:

1) Turn off the printer.
2) Print a file  (and it will get queued in  /var/spool/lpd/<printername>
3) Go look at the file.
4) If you find something funny about the file, make a copy of it and play 
with the file to remove the problem and then try to print it.

-- 
+----------------------------------------------------------------------------+
+ Bruce S. Marshall  [EMAIL PROTECTED]  Bellaire, MI         08/09/01 09:00  +
+----------------------------------------------------------------------------+
"The Information Highway:  500 channels and not a thing to watch."
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to