Compaq DECprint Supervisor (DCPS) for OpenVMS
User's Guide


Previous Contents Index

2.3 Deleting a Print Job

You can remove a print job from the queue by using the DELETE/ENTRY command. If the print job is being printed, this command terminates printing and deletes the print job.

If the system manager sets up the queue to retain print jobs, your print job remains in the queue after you use the DELETE/ENTRY command. In this case, use the DELETE/ENTRY command twice to remove the job from the queue.

Include the job number of the print job to be deleted after the DELETE/ENTRY command. For example:


$ DELETE/ENTRY=96


Job MEMO (queue LP40$A10, entry 96) terminated with error status 
%JBC-F-JOBDELETE, job deleted before execution 
%DELETE, entry 96 aborting or deleted 

2.4 Modifying a Print Job

You can modify a print job that has not started printing. You can change the queue for the print job, or any of the print job attributes that you specified in the PRINT command. You cannot modify a print job that has begun printing.

Use the SET ENTRY command to modify the status, queue, or attributes of a print job. Specify the job number and any qualifiers in the SET ENTRY command. The following example shows how to change the print queue for print job number 318. To specify the new queue, use the SET ENTRY command with the /REQUEUE qualifier.


$ PRINT *.MSG/AFTER=17:00/QUEUE=PS40$A10


Job AUTO (queue PS40$A10, entry 318) holding until 27-MAR-2001 17:00 


$ SET ENTRY 318/REQUEUE=LP40$A10
$ SHOW QUEUE LP40$A10


Printer queue LP40$A10, on MOON::A10::, mounted form DCPS$DEFAULT 
(stock=DEFAULT) 
Entry          Jobname         Username  Blocks  Status 
-------        --------        --------  ------  ------ 
318            AUTO            MSMITH     368    Holding until 27-MAR-2001 17:00 

Use the SET ENTRY command to release a print job that is Holding. Include the /RELEASE qualifier in the SET ENTRY command to release the print job. For example:


$ SET ENTRY 318/RELEASE


%DCPS-I-JOBSTART, Job AUTO (queue LP40$A10, entry 318) started 
on LP40$A10 

You can change the qualifiers and print parameters for a print job using SET ENTRY. Include the job number and the new qualifier or parameter values in the SET ENTRY command.

If your PRINT command included more than one print parameter, you must include them all in the SET ENTRY command. You cannot modify only one of the print parameters without affecting the others that you included in the PRINT command. If you modify only one parameter, the others are reset to default values. For example, you could submit a print job with the following command:


$ PRINT/PARAMETERS=(SIDES=2,PAGE_ORIENTATION=LANDSCAPE) MYFILE.RPT
Job MYFILE (queue PS40$A10, entry 329)

To modify the page orientation setting for this print job, you must include the SIDES parameter, as well:


$ SET ENTRY 329/PARAMETERS=(SIDES=2,PAGE_ORIENTATION=PORTRAIT)
$ SHOW ENTRY 329/FULL


Entry        Jobname         Username  Blocks  Status 
-----        --------        --------  ------  ------ 
329          MYFILE          MSMITH       4    Holding until 27-MAR-2001 17:00 
    On Printer queue PS40$A10 
    Submitted 27-MAR-2001 11:50 /FORM=DCPS$DEFAULT (stock=DEFAULT) /NOTIFY 
    /PARAMETERS=("SIDES=2","PAGE_ORIENTATION=PORTRAIT") /PRIORITY=100 
    File: _$1$DUA10:[MSMITH]MYFILE.RPT;2 


Chapter 3
Copying and Printing Files from a PC

This chapter contains tips for printing from a PC. For specific information about printing from DOS or your application, see the information provided by DOS Help or your application documentation.

3.1 Copying Files from a PC to an OpenVMS System

If you are copying your file from a PC to an OpenVMS system and then printing it, the resulting file must have one of the OpenVMS file formats listed in Table 3-1.

Table 3-1 PC File Interchange Formats
OpenVMS Record Format Record Attributes File Creation Mechanism
Stream Any Format for files transferred from a PC to an OpenVMS system using the PATHWORKS COPY command.
Variable length None Format for files transferred from a PC to an OpenVMS system using KERMIT in binary mode.
Undefined Any Generated by some applications. Format is acceptable for files with binary data.
Fixed format None Format for files transferred from a PC to an OpenVMS system using the PATHWORKS Network File Transfer (NFT) utility, using the COPY/IMAGE command.

3.2 Printing Binary Files from a PC

When you print files with binary data (such as images, fonts, and so forth) directly from a PC using PATHWORKS, you may have to use the COPY/B command rather than the NET PRINT command. For example, the following command may create a file that does not print:


M:\>  NET PRINT file LPT1: /PARAMETERS="DATA_TYPE=PCL"

In this case, print the file using the following commands:


 M:\> NET PRINT LPT1:  /SET /PARAMETERS="DATA_TYPE=PCL"
 
 M:\> COPY/B font-or-macro-file.dat + data-file.dat LPT1:

The NET PRINT command is supported in PATHWORKS Version 3.0 and Version 4.0.

3.3 Printing Files Generated on a PC or Macintosh System

When generating PostScript files on a PC or Macintosh system, for eventual printing through DECprint Supervisor for OpenVMS software, you should keep the following points in mind:

  1. Use of Printer-Specific Code
    PC and Macintosh printer drivers often generate PostScript code that is specific to a printer and to the set of printer options for which you configured the driver (for example, printer brand and model, trays available, whether the printer can perform duplex printing, how much memory is available in the printer, etc.). If you later attempt to print such a file on a different type of printer or a printer with a different set of options, the file may not print correctly.
    Try to generate a file that is specific to the printer and printer options that you ultimately intend to use. Alternatively, attempt to select a generic printer (for example, PostScript Level 1, optimized for portability, with few options) to increase your chances of being able to print the file on multiple printer configurations. (Also see Section 5.5.)
  2. Use of Feature-Specific PostScript Code
    PC and Macintosh applications and printer drivers often generate PostScript code that is specific to a set of printer features that you select when you generate the file (for example, which tray to use, the number of uncollated copies, simplex or duplex, etc.). When your PostScript file contains explicit requests for such features, the corresponding DCPS parameters (for example, INPUT_TRAY, OUTPUT_TRAY, SHEET_COUNT, SIDES, etc.) have no impact on your print job.
    If your application and printer driver allow you to default certain settings (for example, the input tray) to the current printer setting, do so and then specify the desired setting using a DCPS parameter. Otherwise, use your application or driver to specify the feature and omit the corresponding DCPS parameter.
  3. Assumptions about Printer-Specific Setup
    The physical setup of a printer can vary from printer to printer, and over time. For example, you might generate a PostScript file to print to the top input tray because you know that the top tray on your printer contains yellow paper and you want to print on yellow paper. However, if you then send the file to another printer of the same brand and model, or even the same printer at a later date, the top tray may contain other media.
    For printer features that DCPS does not allow you to specify and that your application and printer driver also do not allow you to specify (for example, media type), verify that the physical setup of the target printer is as you desire before sending your file to it. If not, you may have to regenerate the file for the reasons given in items number 1 and 2 above.

3.4 Printing with the Adobe Windows Printer Driver

To avoid wrap problems when printing PostScript output from the Adobe Windows printer driver, take the following steps:

  1. Enter the PS Options menu from the driver Set-up window
  2. Change the Protocol Options item to None (AppleTalk)
  3. Disable the Send Binary Data feature

3.5 Printing with the Microsoft Windows PSCRPT Driver

To successfully print from a Microsoft Windows application with the Microsoft PSCRPT.DRV driver, follow these steps:

  1. Before printing the PostScript document, enter the following variables into your WIN.INI file for each [printer, port] combination:


    LandscapeOrient=270 
    CtrlD=0 
    

  2. Set the following options in the Advanced Options Print Setup dialog box:

This procedure helps you create PostScript documents that are printable on many printers.

If you cannot re-create a failed PostScript document, and you must print it on the printer where it failed, modify the print job to ignore unrecognized PostScript operators. See Section 5.6 for information about modifying print jobs.

3.6 Using the Network Printer Setup Utility

The Network Printer Setup utility helps PC users use DECprint Supervisor for OpenVMS options through PATHWORKS. This utility allows you to set options, such as two-up or four-up printing and multiple copies, on a network printer hosted by a PATHWORKS server.

3.6.1 Software Required

The Network Printer Setup utility works with PATHWORKS Version 4.0, 5.0, and 5.1 servers.

The Network Printer Setup utility is provided as a Windows utility (PRINTOPT.EXE) with Windows Help, and as a DOS utility (PRINTSET.EXE). The files for this utility are in the following location:


SYS$COMMON:[SYSHLP.EXAMPLES.DCPS.NETPRINT]NETPRX11.ZIP 

To install and use the utility, follow the directions given in the README.TXT file in the same directory.

Note

This utility is available to PATHWORKS customers on an unsupported basis.

3.6.2 Features of the Network Printer Utility

The Network Printer Setup utility sets default options in the PATHWORKS server that are applied to all jobs printed on a network printer connection. For example, you can set the default number of copies, the default orientation, and the default page options using this utility.

Different printer connections may have different defaults associated with them. Establish defaults with this utility and then print as usual: directly from Windows applications, from DOS applications, or by copying files to the network printer port.

Some of the options you can specify with the Network Printer Setup utility are supported only by PostScript printers controlled by the DECprint Supervisor for OpenVMS software. For example, NUMBER_UP is a feature of the DECprint Supervisor for OpenVMS software.


Chapter 4
Specifying Input and Output Trays

4.1 Selecting the Input Tray

Some printers have more than one input tray. You can use different trays for various types of media, such as transparencies, envelopes, and paper.

Some printers support special trays, such as manual-feed input slots and envelope feeders. To list the input trays supported by your printer, enter the HELP PRINT_PARAMETER INPUT_TRAY command and select the subtopic that describes your printer.

Use the INPUT_TRAY parameter in the PRINT command to select the input tray from which the media is drawn for the print job.

For example:


$ PRINT/PARAMETERS=INPUT_TRAY=TOP MYFILE.PS

Some printers do not support multiple input trays. If you specify /PARAMETERS=INPUT_TRAY on print jobs for these types of printers, your print job is terminated and the following message is displayed:


NOINPTRAY, INPUT_TRAY selection not supported for printer-name

Selecting the wrong input tray with certain printers terminates the print job. When you specify an input tray that is not supported by the printer, the following error message is displayed:


INTRAYNOTSUP, No tray-name on printer-name

Some printers have optional input trays. If you specify an optional input tray that is not currently available on the printer, the job is terminated and the following error message is displayed:


INTRAYNOTAVL, No tray-name is installed on printer-name

4.1.1 Specifying the Type of Media

Use the INPUT_TRAY parameter to specify an input tray that has the required media loaded in the tray.

You can also specify a paper size with the SHEET_SIZE or PAGE_SIZE parameter.

For example:


$ PRINT/QUEUE=PS40$A14/PARAMETERS=(SHEET_SIZE=A4,INPUT_TRAY=TOP) FILE.PS

If you specify both the input tray and the paper size, the specified input tray must contain the requested paper size for the job to print, or the print job is terminated and the following error message is displayed:


SIZNOTRAY, paper-size size medium is not in the tray-name tray in printer-name

For example:


SIZNOTRAY, A4 size medium is not in the TOP tray in PS40$A14 

4.1.2 Selecting Manual Feed

To select the manual feed slot, use the parameter INPUT_TRAY=MANUAL_FEED. You must also specify the paper size with the SHEET_SIZE or PAGE_SIZE parameter. For example:


$ PRINT/QUEUE=PS40$A14/PARAMETERS=(SHEET_SIZE=A4,INPUT_TRAY=MANUAL_FEED) FILE.PS

If you omit the page size from a print job that specified manual feed, your print job terminates and the following error message is displayed:


NO_SHEET_SIZE, Sheet_size must be specified for Manual_Feed 

When you specify manual feed, job separation pages are printed on the paper that is loaded in the printer's default input tray. Then the input tray is changed to MANUAL_FEED for printing the file.

4.1.3 Using the Envelope Feeder

You must specify the paper size with the SHEET_SIZE or PAGE_SIZE parameter when you specify the ENVELOPE_FEEDER input tray. Otherwise, your print job terminates and the following message is displayed:


NO_SHEET_SIZE, Sheet_size must be specified for Envelope_Feeder 

4.2 Selecting the Output Tray

Some PostScript printers have multiple output trays.

You can list the output trays available with your type of printer by entering the HELP PRINT_PARAMETER OUTPUT_TRAY command and selecting the subtopic that describes your printer.

You can select the output tray for print jobs destined for these printers using the OUTPUT_TRAY parameter in the PRINT command.

For example:


$ PRINT/PARAMETERS=OUTPUT_TRAY=SIDE MYFILE.PS

If you select an unsupported output tray, the print job may be printed and sent to another output tray, and the following message displayed:


TRAYSUBST, Output will be delivered to the output-tray tray on printer-name

Alternatively, your print job may be terminated and the following message displayed:


NOOUTTRAY, OUTPUT_TRAY, tray-name, not supported on printer-name

Some printers have optional output trays. If you specify an optional output tray that is not currently available on the printer, your output will be directed to a similar tray if one exists. If there is no similar output tray, the job is terminated and the following error message is displayed:


OUTTRAYNOTAVL, No tray-name is installed on printer-name

4.2.1 Manually Selecting Output Trays

If you manually select the output trays on your printer, you cannot change trays with the OUTPUT_TRAY parameter. You must select the output tray by using the controls on the printer. Refer to the operator's guide to your printer for information about output tray selection.

If you specify the OUTPUT_TRAY parameter for this type of printer, be sure that the appropriate output tray is selected manually. Otherwise, the print job is terminated and the following message may be displayed:


OUTTRAYMISMATCH, Printer printer-name output tray setting does not 
match requested output-tray on printer-name


Previous Next Contents Index