- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- VMS Print Queues
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
Discussions
Discussions
Discussions
Forums
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
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-13-2008 12:42 PM
тАО05-13-2008 12:42 PM
VMS Print Queues
Thank you
PaulJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 12:51 PM
тАО05-13-2008 12:51 PM
Re: VMS Print Queues
First, please allow me to welcome you the OpenVMS Forum!
There are several questions that are relevant:
- How is the data being written?
- Is the data being written to a spooled printer (e.g., LPT1:, TTxxx:, etc.)?
- Is the data being written to a file which is then spooled for printing?
(The above should be straightforward to determine from the queue entry, if is not clear, please cut out the appropriate section of the output from a $ SHOW QUEUE/PRINT/FULL and attach it to the posting.)
Depending on the answer to the above, there are a variety of different solutions.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 01:29 PM
тАО05-13-2008 01:29 PM
Re: VMS Print Queues
-I believe it is a spooled printer
-I do not have a queue entry example, but here is the show queue
BLVA> show queue/full FMSDEN2
Printer queue FMSDEN2, idle, on BLVA::NLP46:, mounted form UHAWB
<7.231.123.200:8002 - IP chgd 3/27/07>
/BASE_PRIORITY=4 /DEFAULT=(FORM=UHAWB) /NOENABLE_GENERIC Lowercase
/OWNER=[SYSTEM] /PROCESSOR=MULTINET_STREAM_SYMBIONT
/PROTECTION=(S:M,O:D,G:R,W:SM) /RETAIN=ERROR
BLVA>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 01:38 PM
тАО05-13-2008 01:38 PM
Re: VMS Print Queues
If you are trying to diagnose a problem and it is a network printer, you could possibly use TCPTRACE to capture the dialog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 01:46 PM
тАО05-13-2008 01:46 PM
Re: VMS Print Queues
Thank you
PaulJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 01:48 PM
тАО05-13-2008 01:48 PM
Re: VMS Print Queues
Thank you
PaulJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 02:53 PM
тАО05-13-2008 02:53 PM
Re: VMS Print Queues
Having been down this path more than a few times, there are more details needed.
To start:
- Which third-party package?
- Exactly what are the COBOL statements used to open the file? What logical names are defined at the time that the file is opened?
This problem could be as simple as a parameter setting or a small change to the source program. I have seen it in the past. Without the details however, it is not possible to say.
- Bob Gezelter, http://www.rlgsc.com
P.S. If there is a lack of comfort with posting the details publicly, I can be contacted offline, as can other active contributors to this forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 02:55 PM
тАО05-13-2008 02:55 PM
Re: VMS Print Queues
re: the SHOW QUEUE output. The printer appears to be a network printer. However, such a printer could be used as either the target of a file, or transparently spooled.
The correct solution depends on the answer.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 05:10 PM
тАО05-13-2008 05:10 PM
Re: VMS Print Queues
http://mvb.saic.com/freeware/freewarev80/execsymb/
Or roll your own symbiont. That's fully supported, and there are various examples around. dbs-nullsymbiont is on the same Freeware, and there are examples in the manuals and around the freeware at mvb.saic.com.
Use the google Site:mvb.saic.com keyword to restrict your Google search to the Freeware archives, as that site has an archive far larger than any Freeware archive at HP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 06:25 PM
тАО05-13-2008 06:25 PM
Re: VMS Print Queues
If you find the idea of writing a symbiont too daunting, you could also try STOPping the queue and examining the entries that your program submits to it. Depending on the mechanism, the entry may point to a file, which you can access directly or copy elsewhere for processing.
So a quick and dirty implementation would be to keep the queue stopped, scan it every so often for pending entries, copy or process the files pointed to by the entries, then delete the entries when completed.
An even dirtier mechanism would be to direct the printer to a serial port, loop it back to a second serial port and have a process reading and processing the data as it arrives.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2008 01:29 AM
тАО05-14-2008 01:29 AM
Re: VMS Print Queues
Normally, I am in almost complete agreement with Hoff and John. Indeed, John's comment about "looping a serial port" back did occur to me. In this case, WADR, I must demurr.
While it is not a guarantee, it has generally been my experience that such measures are more drastic than what is needed in most situations, and give rise to more maintenance than is necessary. If we can look at the basics of what is actually happening (e.g., identify the actual source construct(s), the third party package, and some other details), there is a good chance that a very straightforward solution will present itself. I have seen issues as simple as a program's choice of file format. Insignificant to the program, and the print symbiont, but occasionally of great significance to some other tool.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2008 07:56 AM
тАО05-14-2008 07:56 AM
Re: VMS Print Queues
The most likely ones are:
* The print form used by the print job has one or more /SETUP modules associated with it. If this is the case (check with SHOW ENTRY/FULL and then SHOW QUEUE/FORM/FULL) you can extract the module(s) from the text /LIBRARY associated with the queue (use SHOW QUEUE/FULL) using the DCL command $LIBRARY/EXTRACT=module/OUTPUT=file library and then insert the module(s) text at the head of the print file.
* The print file may be in a RMS record format that your third party software doesn't know how to process such as variable length records. You can check this with DIRECTORY/FULL. If so you can convert the file to stream records with:
$CONVERT oldfile newfile /FDL=SYS$INPUT:
RECORD
FORMAT STREAM
or your application might need STREAM_LF.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2008 09:56 AM
тАО05-14-2008 09:56 AM
Re: VMS Print Queues
http://wvnvaxa.wvnet.edu/vmswww/drain.html
Warnings:
1) it was written for the Multinet TCP/IP stack
2) it was written with just plain text files in mind
--------------------------------------
BUT ... it could give you a starting point for what you need :-)
FYI, DRAIN captures a print stream and saves it to a file.
Good Luck !!
Verne Britton