- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Printing Problems with Optio
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2004 04:40 AM
05-08-2004 04:40 AM
I have Optio DCS installed on one of my DS20 box running Tru64 5.1 and the Optio virtual printer is configured in an ES40 pointing to the DS20 as the print server.
After the data to be printed is formatted by Optio, it is directed to the actual network printer .
In the virtual printer spool directory in ES40 when the sequence number in .seq file reaches 128 , the queue gets blocked and i get the message
No space on remote , waiting for queue to drain.
Infact there is no space problem in the spool directory ( as the message would mean literally ) . The only way out is to reinitialize the sequence number in .seq to 001 and restart the queue with lpc restart
Any pointers please..!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2004 10:41 PM
05-09-2004 10:41 PM
Re: Printing Problems with Optio
PS: Have you installed the printer by the setup program or manually? What does lpr.log tell us?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2004 11:01 PM
05-09-2004 11:01 PM
Re: Printing Problems with Optio
#Optio queue to Virtual printer (14 May 1) . (:optio_tr:)
optio_tr:\
:lf=/var/adm/lpd/optio_tr.err:\
:sd=/usr/spool/lpd/optio_tr:\
:rp=optio_tr:\
:lp=:ct=remote:sh:mx#0:
Also, when the queue gets blocked ,
/usr/spool/lpd/optio_tr # ls
.daemon_running_on_tarifa
lock
.seq cfA129tarifa
dfA001tarifa
status
dfA129tarifa
tfA001tarifa
tarifa(ES40):/usr/spool/lpd/optio_tr # lpc status optio_tr
optio_tr:
printer is on remote host tarifa2.gva.europe.firmenich.com with name optio_tr
queuing is enabled
printing is enabled
1 entry in spool area
Mon May 10 12:52:02 2004: no space on remote; waiting for queue to drain
The lpr.log says :
May 10 12:51:32 tarifa lpd[86582]: ERROR -- close_trace: close(6) failed -- print queue may hang, error: Connection reset by peer
Any pointers on this would be of great help.
Not sure what the magic sequence number 128 is all about .
TIA
Srivathsan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2004 11:04 PM
05-09-2004 11:04 PM
Re: Printing Problems with Optio
there seems to be no space on the remote device, which means the virtual printer. Have you checked if the printer supports the remote printing method specified?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2004 11:13 PM
05-09-2004 11:13 PM
Re: Printing Problems with Optio
Thanks for the prompt reply.
The printer queue name is optio_tr and it is a virtual print queue which does the job of formatting the df file in a specific format and then forwarding it to the actual network printer.
This works fine for another machine and not for this machine only when the print sequence number reaches 128.
And there is no network connection issues between the two machines as the lpr.log file is cribbing about.
Thanks
Srivathsan A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2004 11:28 PM
05-09-2004 11:28 PM
Re: Printing Problems with Optio
If this is a "virtual printer" does it mean a software captured the output and forward it to another printer? If so why not using tcpip printing which does filtering? Have you traced the "virtual filter script"?
lpd will fork a lpd process and start the filter, after filtering is complete the job will be forwarded to the remote printer and after transfer lpd child will be terminated. If it will hang it seems to be a "filter" problem, check with the ps command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 01:33 AM
05-10-2004 01:33 AM
Re: Printing Problems with Optio
The setup is something like this :
M1 ---- M2 ( Optio DCS Software)--- Actual Network Printer.
Optio DCS is a Document Customization Server Software.
Users login to M1 , and from the ERP screen fire a print to the network printer requesting the job to be processed via a Virtual Print Queue named optio_tr and defined in M1 as a remote print queue.
The cf and df files generated by this request get transferred to the spooling directory of the Virtual Print Queue ( which is configured as /tmp in M2 ).
And from /tmp in M2 , the Optio Software takes itâ s input ( a flat file ) and delivers a formatted output file ( Still in soft copy ) to the actual network printer as chosen by the user in the first instance.
Then on , the formatted request goes to the spool directory of the real network printer ( eg., /usr/spool/lpd/scj00v0 ) and from there it gets printed.
This is during normal operations.
But, when the .seq file in M1 reaches a sequence number of 127 , the next request i.e., the 128th request is sure to block the queue . The behaviour at this point in time is
CfA129* and dfA129* files remain in the /usr/spool/lpd/optio_tr ( The virtual print queue spool directory ) in M1.
CfA128* and dfA128* remains in /tmp in M2 .
The subsequent request remain queued in M1 in /usr/spool/lpd/optio_tr as cfA130 / dfA130..and soâ ¦on..and so forthâ ¦
And M1 reports â No space on remote , waiting for queue to drain.
Where as both /usr/spool/lpd/optio_tr in M1 and /tmp in M2 have plenty of free space.
Hope this gives you a better idea of the setup.
Please let me know what process and how to monitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 01:40 AM
05-10-2004 01:40 AM
SolutionSo it is important to analyze the dataflow within the script. Use "ps" to check what is going on and increase debugging information of lpd (see man-page).
If a lot of print jobs waits for execution try the JJ parameter within the printcap (see man page of printcap for information)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 05:00 AM
05-10-2004 05:00 AM
Re: Printing Problems with Optio
Thanks so much for the pointer about the printcap parameter.
After changing the mj parameter i am able to work fine with a higher than default value for mj.
But there seems to be some unpredictable behavior with the lpd.
With the default mj value of 1000 , the sequence number in .seq file should reset to 000 after 999 ideally ( which happens fine in other servers ). But this server's lpd behaves very unpredictably.
Anyways... thanks very much.
Regards,
Srivathsan