Networking Forums

Networking Forums > Computer Networking > Linux Networking > printing postscript over network

Reply
Thread Tools Display Modes

printing postscript over network

 
 
andrewmccallumau@hotmail.com
Guest
Posts: n/a

 
      01-11-2005, 04:04 AM
I am currently in the process of configuring some pc's to replace some
old WYSE terminals. I need to organise a single key press which will
print a screenshot of the screen to a network printer.

To print the screenshot I use

xwd -display localhost:0 -root | xwdtopnm | pnmtops | lpr

This will print if done from the print server, but not over the
network.

Cups error log on the server shows that the job is being sent to the
printer, however nothing gets printed.
/var/log/cups/error_log

AcceptClient() 7 from 192.x.x.x:631.
ReadClient() 7 POST /printers/HPLaserJet1100 HTTP/1.1
ProcessIPPRequest: 7 status_code=1
ReadClient() 7 POST /printers/HPLaserJet1100 HTTP/1.1
print_job: request file type is application/postscript.
CancelJob: id = 1918
check_quotas: requesting-user-name = 'remroot'
print_job: requesting-user-name = 'remroot'
Adding start banner page "none" to job 2416.
Adding end banner page "none" to job 2416.
Job 2416 queued on 'HPLaserJet1100' by 'remroot'.
Job 2416 hold_until = 0
StartJob(2416, 0x8307890)

[Job 2416] Printer: HPLaserJet1100
[Job 2416] PPD file: /etc/cups/ppd/HPLaserJet1100.ppd
[Job 2416] Printer model: HP LaserJet 1100 Foomatic/hpijs
(recommended)

blah blah blah(searching for header options)

[Job 2416] Renderer process finished
[Job 2416]
[Job 2416] Closing foomatic-rip.
UpdateJob: job 2416, file 0 is complete.
CancelJob: id = 2416
StopJob: id = 2416, force = 0
StopJob: printer state is 3

The network printing works fine if
a) text file is sent
b) ksnapshot or other program sends a postscript file

It appears only to be a problem with postscript sent over the network
from a command line/shell script.

Can anyone see what I am missing, or is there some bug/feature I am
unaware of.

Lost and confused

Andrew

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Printing Geoff Lane Home Networking 0 01-15-2008 08:21 PM
Network Printing AP Wireless Networks 4 11-01-2005 01:23 AM
Network Printing John Holt Windows Networking 4 05-18-2005 01:43 PM
USB Printing on network Bargains Home Networking 5 01-05-2005 04:37 PM
Network Printing MBass Windows Networking 0 10-11-2004 04:17 PM



1 2 3 4 5 6 7 8 9 10 11