background image

Crown  Document 
Option Commands

®

1800216-001J

Summary of Contents for Crown Document Option Commands

Page 1: ...Crown Document Option Commands 1800216 001J ...

Page 2: ...H R Block DEC DECnet VMS Digital Equipment Corporation PhoneNET Farallon Computing Inc Hewlett Packard HP PCL HP GL LaserJet Hewlett Packard Co IBM PC Token Ring International Business Machines Corporation Intel Intel Corporation Microsoft MS DOS Microsoft Corporation Novell and NetWare Novell Inc QuarkXPress Quark Inc TOPS Sun Microsystems Inc UNIX UNIX Systems Laboratories Proprietary Statement ...

Page 3: ...ssor ESP 7 Using DOCs 7 DOC Statement Syntax 8 Accessing Printer Features 11 Sample DOC Prologue 13 Command Summary 15 Header and Trailer Pages 19 Introduction 20 Chapter Organization 20 DOC Statement Syntax 21 Printing Header Pages 22 Printing Trailer Pages 25 Header Trailer Information Commands 27 ...

Page 4: ...ter Resolution Quality and Color Commands 80 Selecting Emulation Features 83 Introduction 84 Chapter Organization 86 DOC Statement Syntax 87 HP GL Emulation Commands 88 HP PCL4 Emulation Commands 91 HP PCL5 Emulation Commands 93 HP PCL 5e or 5c Emulation 98 PostScript Emulation Commands 111 LN03 Plus Emulation Commands 111 PostScript Level Commands 113 Lineprinter Emulation Commands 114 CCITT Grou...

Page 5: ...1 Document Option Commands ...

Page 6: ...d header pages or to activate special printer features for each user Characteristics of DOCs Job related Document Option Commands are relevant to the formatting of documents Human readable No special programming skills are necessary to use Document Option Commands Emulation transparent Document Option Commands are recognized interpreted and stripped from the data stream before the print job is int...

Page 7: ...sists of a DOC prologue attached to the emulation page descriptions The prologue consists of text statements that provide information for the header and trailer pages and Document Option Commands that specify how the job is to be processed and printed Examples All DOC prologues begin with symbols on the first line Each DOC statement begins with two percent signs as the first characters on a line N...

Page 8: ...ment Syntax Document Option Commands have the following syntax Mixed case commands must be typed exactly as shown Syntax Indicator Keyword parameters Indicator An indicator that a Document Option Statement follows Indicators are Keyword The command name Typical examples of indicators and keywords are Title CreationDate IncludeFeature EndComments Argument Lowercase command that causes action to occ...

Page 9: ...first newline character encountered If a comment line is not on line 1 of the prologue the printer or host software assumes that no prologue is in the current print job If you have subsequent lines containing valid Document Option Commands the commands may be ignored or cause unpredictable results Parentheses are explicit separators that must be entered as shown in the com mand syntax One space he...

Page 10: ...nly the com mands listed first take effect unless a newlayout command is also included in the print job Note that a newlayout command can be used at the beginning of a subjob Sub jobs can be delimited by the Session command or by emulation specific job ter minators The newlayout command must be included with each set of Document Option Commands that you want to be evaluated and used For more infor...

Page 11: ...he IncludeFeature keyword includes arguments for selecting printer features IncludeFeature argument attributes argument attributes More than one argument may be included in a IncludeFeature DOC statement but the statement must not exceed 255 characters per line Use continuation lines that begin with if your IncludeFeature statement exceeds the 255 characters per line limit For more information on ...

Page 12: ...es 5 duplex on collate on DOC Prologue Terminator The EndComments command terminates the DOC prologue and signals the beginning of the print job s data All data after the EndComments command is handled by the selected emulation The command syntax is EndComments This command should be used only to prevent further processing of Document Option Commands The DOC prologue is also terminated when a line...

Page 13: ...rologue The printer and product names shown on header and trailer pages vary depending on the product Title Little Boxes For Corporate Communications Routing Mail Stop 5440 Date May 1 2000 Creator Line Editor CreationDate May 1 2000 CopyRight Copyright 2000 Version Version 1 0 IncludeFeature header on trailer on emulation postscript numcopies 2 EndComments Times Roman findfont 30 scalefont setfont...

Page 14: ...Document Option Commands 14 postscript JOB 2 Little Boxes For Corporate Communications Routing Mail Stop 5440 Date May 1 2000 Creator Line Editor magicolor 6100 Print System PrintQueue ...

Page 15: ...ate Date Owner For Host computer Host Routing information Routing Title Title Version and Revision Version Document Control Commands Document formatting options IncludeFeature Page order command PageOrder Document number of pages Pages Ending the prologue EndComments Job boundery command EndOfDocument End of document command ESC 12345x Subjob boundery command Sessions Job completion email notifica...

Page 16: ... Logical page orientation IncludeFeature pageorientation Print page range IncludeFeature pagerange Scale logical page IncludeFeature pagescaling Logical page size IncludeFeature pagesize Select print mode IncludeFeature quality Set printer resolution IncludeFeature resolution Set staple mode IncludeFeature staple HP GL Emulation Commands Select enhanced resolution IncludeFeature enhanced Expand pl...

Page 17: ...re number Set tabs IncludeFeature tabs Set linefeed to CR LF IncludeFeature lfiscrlf Set carriage return to CR LF IncludeFeature criscrlf Set formfeed to CR FF IncludeFeature ffiscrff Wrap lines IncludeFeature autowrap Set number of lines per page IncludeFeature linesperpage Set margins IncludeFeature lpmargins Set orientation IncludeFeature lporientation PostScript Emulation Commands SC 200 to se...

Page 18: ...izontally IncludeFeature xorigin Adjust image vertically IncludeFeature yorigin Set power up configuration IncludeFeature reset_override CALS Commands Automatic rotation of image IncludeFeature autorotation Automatic scaling of image IncludeFeature autoscaling TIFF Commands Automatic rotation of image IncludeFeature autorotation Up or down scaling of image IncludeFeature autoscaling Automatic sele...

Page 19: ...2 Header and Trailer Pages ...

Page 20: ...ages on page 25 Header Trailer commands Header Trailer Information Commands on page 27 Printing document title Document Title on page 27 Printing document host Document Host on page 27 Printing document owner Document Owner on page 28 Printing document routing Routing Information on page 28 Printing time of document Printing Time on page 28 Printing application used Application Used on page 28 Pri...

Page 21: ...ettings for the command For example the paper size attribute of the IncludeFeature input command specifies the paper size that is to be used for the print job IncludeFeature input Letter Parentheses are explicit separators that must be entered as shown in the com mand syntax One space hex 20 is recommended for separation before and after the parentheses Attributes or values within brackets are opt...

Page 22: ...e paper input bin for the header page Syntax IncludeFeature header setting source setting off disable document header page on enable document header page file enable header page for current subjob only onfile enable document header page and header page for current subjob only source physical input_bin physical logical physical input_bin logical physical Letter Legal Ledger Executive A5 A4 A3 B5 B4...

Page 23: ...s for For and Title are printed in large bold type at the top of the page and the rest are listed in smaller type in the bottom half Here is a list of the information provided by the header page printer name selected interface job identification title Title submitting computer Host job owner For routing message Routing start time Date application used Creator creation time CreationDate Default Not...

Page 24: ...sheets printed printer product name logo Header page example The following is an example of a DOC prologue for a header page Title Your Header Page For Marketing Routing MKTG 4032 Date Today Creator Line Editor CreationDate Yesterday CopyRight Copyright 2000 Version Version 3 9 IncludeFeature header on trailer on emulation postscript numcopies 3 EndComments ...

Page 25: ...t subjob only onfile enable document trailer page and header page for current subjob only source physical input_bin physical logical physical input_bin logical physical Letter Legal Ledger Executive A5 A4 A3 B5 B4 input_bin 1 2 3 4 manualfeed depending on the maximum number of bins 0 may indicate manual feed indicates current default input bin and other bins of the same size logical upper lower ot...

Page 26: ...tting computer Host job owner For routing message Routing start time Date application used Creator creation time CreationDate copyright date CopyRight accounting information ChargeNumber version number Version job submission time job start time number of sheets printed printer product name logo The trailer page also lists any errors generated by the printer while processing or printing your docume...

Page 27: ...onal information about using the Proof then Print feature Header Trailer Information Commands Document Title This statement can be used to print the title of the document on header and trailer pages Document Host This statement can be used to print the name of the host from which the document is transmitted Syntax Retain type submitter type proof submitter Up to 16 alphanumeric characters that ide...

Page 28: ...ment can be used to print the document creator This is usually the name of the document composition software Syntax For text text Any alphanumeric string up to 80 characters long Anything longer is truncated Default none Syntax Routing text text Any alphanumeric string up to 80 characters long Anything longer is truncated Default none Syntax Date text text Any alphanumeric string up to 80 characte...

Page 29: ...ement can be used to print the date and time the document was created Syntax CopyRight text text Any alphanumeric string up to 80 characters long Anything longer is truncated Default none Syntax ChargeNumber text text Any alphanumeric string up to 80 characters long Anything longer is truncated Default none Syntax Version text text Any alphanumeric string up to 80 characters long Anything longer i...

Page 30: ...age This can be different from the number of physical pages the engine prints This is used to determine the odd or even boundary when duplexing Syntax PageOrder setting setting setting Asend Descend Ascend pages are in ascending order beginning with page on and increment ing to the highest page number Descend pages are in descending order starting with the highest possible page number and decremen...

Page 31: ...geoffsets staple background border pagescaling booklet resolution newlayout off set quality colormodel colorseparation mediatype option text Notes The list of features available for this command can be extended with the addition of software emulation options on your printer See chapter 4 Selecting Emula tion Features Syntax EndComments Notes Marks the end of the DOC prologue and the beginning of t...

Page 32: ...ailer pages that result from this prologue The printer and product names shown on header and trailer pages vary depending on the product Title Print Spec For Corporate Communications Routing Mail Stop 5440 Date 9 09 2000 Creator PSCRIPT DRV Version 4 0 CreationDate 08 14 2000 CopyRight Copyright 2000 IncludeFeature header on trailer on emulation postscript numcopies 1 EndComments Times Roman findf...

Page 33: ...Header and Trailer Pages 33 For Corporate Communications Routing Mail Stop 5440 Date 9 09 2000 Creator PSCRIPT DRV postscript JOB 2 Print Spec magicolor 6100 Print System PrintQueue ...

Page 34: ... Pages 34 For Corporate Communications Routing Mail Stop 5440 Date 9 09 2000 Creator PSCRIPT DRV Version 4 0r Creation Date 08 14 2000 postscript JOB 2 Print Spec END OF JOB Errors magicolor 6100 Print System PrintQueue ...

Page 35: ...3 Selecting Printer Features ...

Page 36: ...commands and explains their use Printer Compatibility This manual describes Document Option Commands that are used on a variety of printers New commands designed for some products may not apply to all models of printers Refer to your printer documentation for a list of Document Option Commands that are supported on your printer then use this manual for information about how to use the commands Job...

Page 37: ...edia Type on page 45 Stacker offsetting Offsetting Print Jobs on page 45 Stacker stapling Stapling Print Jobs on page 46 Page layout commands Page Layout Commands on page 46 Logical page size Setting the Page Size on page 46 Setting margins Setting Margins on page 47 Logical page orientation Setting Page Orientation on page 48 Logical page scaling Scaling Pages on page 48 Logical page offsets Sett...

Page 38: ...ntax Indicator Keyword parameters Indicator An indicator that a Document Option Statement follows Indicators are Keyword The command name Typical examples of indicators and keywords are Title CreationDate IncludeFeature EndComments Argument Lowercase command that causes action to occur with the print job or printer function attributes Attributes specify settings for the command For example the pap...

Page 39: ...cludeFeature input IncludeFeature numcopies IncludeFeature output IncludeFeature pagerange IncludeFeature orientation Parentheses are explicit separators that must be entered as shown in the com mand syntax One space hex 20 is recommended for separation before and after the parentheses Attributes or values within brackets are optional variables Do not include the brackets Items within square brack...

Page 40: ...s of the same size logical upper lower other defined name Default IncludeFeature input Examples IncludeFeature input Letter IncludeFeature input Letter 2 IncludeFeature input 1 IncludeFeature input Letter upper IncludeFeature input upper Note The paper sizes are dependent on the printer For information on the paper sizes supported by your printer see your printer documentation Job commands encoded...

Page 41: ... input bin IncludeFeature input Letter upper Selecting Output Bins The output command specifies the output bin in which the pages are to be placed Example The following example specifies the lower output bin IncludeFeature output 2 Syntax IncludeFeature output destination destination output_bin logical output_bin 1 2 3 logical bin_name Notes The number and names of paper input bins may vary on eac...

Page 42: ...be printed IncludeFeature numcopies 4 Selecting Pages to Print The pagerange command specifies the range of logical pages to print The range is indicated by the first and last pages that are to be printed Pages before the first one are Syntax IncludeFeature orientation rotation rotation Portrait Landscape portrait landscape Default IncludeFeature orientation portrait Syntax IncludeFeature numcopie...

Page 43: ...x printing and collation IncludeFeature duplex IncludeFeature collate IncludeFeature mediatype IncludeFeature offset IncludeFeature staple Syntax IncludeFeature pagerange first last first The first page to be printed Range 1 to last page in job last The last page to be printed Range 1 to last page in job Notes This command takes effect on the job s original pages before multiple pages are combined...

Page 44: ...ex jobs through the duplexer unit This places images on the paper in the same rotation and in the correct order for face down output Printing all simplex jobs through the duplexer means that the header and trailer pages are also printed through the duplexer Since simplex jobs are printed through the duplexer print speed is that of duplex print jobs To print your jobs correctly on letterhead paper ...

Page 45: ...re continuing on to page 3 and so on Choosing the Media Type The mediatype command is used to define the type of media the document needs It may be used to control the imaging characteristics unique to your printer Offsetting Print Jobs The offset command is used to control an offset stacker on a selected output bin if your printer supports this feature Offset stacking allows you to physically sep...

Page 46: ...of paper used by the current print job Notes In some environments where multiple documents are shipped by the host appli cation to construct a single user document the host application may try to over ride the default offset stacking feature to avoid print collation errors Default on Syntax IncludeFeature staple setting setting none front back both on off 2425 3260 and 4032 printer choices front b...

Page 47: ... 0 top Distance in centipoints 1 7200 that the logical page spot is offset toward the bottom from the top edge of the page Default 0 right Distance in centipoints 1 7200 that the logical page spot is offset to the left from the right edge of the page bottom Distance in centipoints 1 7200 that the logical page spot is offset toward the top from the right edge of the page alternate off do not exchan...

Page 48: ...caling reducing or expanding the page s width and height in the same proportions Setting Page Offsets Use the pageoffset command to offset the logical page within its page spot Syntax IncludeFeature pageorientation rotation rotation portrait landscape Portrait Landscape Notes This command takes effect before the page offsets are applied Default IncludeFeature pageorientation portrait Syntax Includ...

Page 49: ...nt If collate is off the set consists of all the copies of a single page in a document top Distance in centipoints 1 7200 that the logical page is offset toward the bottom from the top of the page s page spot Default IncludeFeature pageoffsets 0 0 Syntax IncludeFeature newlayout value Used when a document has more than one subjob and you want to control whether different subjobs have the same form...

Page 50: ...inherited from the previous subjobs in the document remain unchanged This subjob will be considered part of the collation range established by the pre vious subjob See the Collation Range definition earlier in this section collate Create a new collation range but retain the same layout and document format ting options that were in effect with the prior subjob as in the following two sub job sessio...

Page 51: ...es IncludeFeature newlayout on collate is always issued at the beginning of the document for the first subjob regardless of the actual command specified by the user IncludeFeature newlayout off is assumed for subsequent subjobs when the command is not present Syntax IncludeFeature pagegrid columns rows column space row space order columns The number of columns placed across the sheet Range 1 10 ro...

Page 52: ...00 downright downright specifies that the pages are ordered downward first and left to right second as shown in this illustration IncludeFeature margins 3600 3600 3600 3600 off IncludeFeature orientation portrait IncludeFeature pagerange 2 IncludeFeature border on IncludeFeature pagegrid 2 2 3600 3600 downleft downleft orders the pages from top to bottom and then from right to left as shown in thi...

Page 53: ...et Printing The booklet command places two logical pages on each sheet or face in an order that produces a booklet when the paper is folded in the direction specified by the fold parameter The booklet can be read by turning pages from right to left or flipped from bottom to top as if it were a note pad Multiple booklets are produced if there are more pages than will fit on the number of pieces of ...

Page 54: ...e booklet Range 0 128 0 disables booklet printing fold The direction in which the paper will be folded with a logical page on each side of the fold This parameter assumes that the sheet has been oriented according to the orientation parameter fold horizontal vertical innermargin The distance in centipoints 1 7200 between the logical page spot and the paper s fold thickness Thickness of sheet in 1 ...

Page 55: ...r are called logical page spots When borders are selected they are drawn at the logical page spot Logical page The image that is produced by the emulation also called logical sheet When no layout is selected it corresponds to the physical page the paper size or paper type but when a complex layout is selected it is one of the images that gets mapped to a physical page within the borders Syntax Inc...

Page 56: ... as tiles on the physical page Page spot Each of the resulting rectangles after applying the following steps when a layout is specified 1 Choose a paper size 2 Orient the paper size 3 Obtain a smaller rectangle by carving out the margins 4 Divide up the resulting rectangle according to the geometry specified by the IncludeFeature pagegrid or IncludeFeature booklet commands ...

Page 57: ...t Syntax IncludeFeature border value Variable value Range 0 to 7200 centipoints 0 to 1 inch Default 0 Notes 1 centipoint 1 7200 0001388 inch 0 or no value indicates that borders are not drawn When scaling is specified the logical page is guaranteed to fit inside the page spot and border preserving its proportions or aspect ratio When scaling is not specified the logical image will most likely be l...

Page 58: ... 4 inch Example A Title Border 72 centipoints IncludeFeature emulation postscript IncludeFeature pagesize letter IncludeFeature border 72 IncludeFeature margins 1800 1800 1800 1800 off EndComments Example B Title Border 1800 centipoints IncludeFeature emulation postscript border 1800 IncludeFeature margins 1800 1800 1800 1800 off EndComments ...

Page 59: ...o be included in the job It can be anything from plain text to a very complex document A background is a printer resident file containing a single image which can be placed on any page before the foreground A background can be an image such as a watermark logo custom form or other complex document Throughout this chapter the term background refers to the background image or file and the foreground...

Page 60: ...grid used for n up printing duplexing margins and so on Unlike other DOCs that are restricted to their first occurrence in a DOC header the foreground DOC header can contain multiple background commands that will all be used in the print job Syntax IncludeFeature background filename cycle unit filename Use the absolute pathname SYS usr filename SYS or DSKn SYS represents any printer attached inter...

Page 61: ...orith mic expression See Background Command Cycle Algorithm on page 62 for details unit Defines whether the background should be mapped onto the physical sheet or onto the logical page spot prior to processing the images for the print job sheet page sheet background to a sheet face use formats specified by image file The background is positioned and sized according to the physical page size A shee...

Page 62: ...re to position a background The following syntax is used in the algorithm Default IncludeFeature background none sheet Notes If the background uses a scalable emulation such as PostScript or HP GL it will be automatically scaled to fit the page or sheet Background Command IncludeFeature background filename cycle unit cycle via an algorithm product term product i or i The product represents a serie...

Page 63: ...eature background SYS usr logo ps 1 page IncludeFeature background SYS usr logo ps 2 page IncludeFeature background SYS usr graybar ps i 3 page Result logo ps prints on page 1 logo ps prints on page 2 graybar ps prints on page 3 4 5 6 7 8 Example D To print a company logo background on both pages of a two page form or IncludeFeature background SYS usr logo ps i page IncludeFeature background SYS u...

Page 64: ...isplays IDLE 1 Access the file transfer protocol program Type ftp printer name where printer name is either the IP address of the printer or its corresponding host name 2 Login to ftp server When prompted for a user id enter root as the user name and give the default password pass 3 Change to the location where backgrounds are stored Type cd usr 4 Set the copy format to binary Type bin 5 Put the b...

Page 65: ...t ftp Type quit Prepending PostScript File to Background File This procedure can be used to download your background to the printer using the parallel interface You should use this only if FTP is not available 1 Prepend the following information to your background Title 4032 PS Background Download Routine IncludeFeature emulation postscript EndComments filename ext FILENAME exch def OutFile os SYS...

Page 66: ...our background before downloading IncludeFeature emulation language EndComments Replace the word language with your background s emulation Also other informational DOCs such as Title Creator and CopyRight can be added to the background s DOC header This information will not appear on the job s header or trailer pages Document handling commands such as duplex input and pagegrid should only appear i...

Page 67: ... SYS usr filename ext sheet EndComments showpage EOF 3 Replace the filename ext with the actual filename of your previously downloaded background 4 Save the test file as text only 5 Print the test file Use the instructions in Printing a Background on page 71 Placing a Background Command in the Foreground The background command prints the image in a printer resident file as a background on your doc...

Page 68: ...Copy header plus foreground in DOS You can use one of the following methods to copy the files d Copy header plus background in UNIX You can use the following method to copy the files Use the background selection from within the Windows driver when printing from Windows Example A copy b header foreground temp_file copy b temp_file prn Join the foreground file and header file by copying them to a te...

Page 69: ...udeFeature header on IncludeFeature duplex on IncludeFeature background SYS usr confid ps i page EndComments Actual text of the print job Example B Print a company logo background on all pages customer information on page 1 and account reconciliation chart on page 2 of a two page form Title XYZ Company Account Worksheet Date 04 23 00 09 00 00 Creator John Smith IncludeFeature header on IncludeFeat...

Page 70: ...Tracking Form Date 04 23 00 09 00 00 IncludeFeature header on IncludeFeature pagegrid 2 2 3600 3600 downright IncludeFeature pagescaling on IncludeFeature background SYS usr bg_1 ps i page IncludeFeature background SYS usr bg_2 ps 2i 1 page IncludeFeature background SYS usr bg_3 ps 2i 2 page End Comments Actual text of the print job ...

Page 71: ...DPS utility that comes with the PS Executive Utilities For a TCP IP system if a TCP IP connection is available to the printer use the file transfer protocol ftp on the host to copy the files to the printer FTP works only when the printer is on line and the message window displays IDLE 1 Access the file transfer protocol program Type ftp printer name where printer name is either the IP address of t...

Page 72: ...ulations to form one larger document treated as a single entity by Crown printers Despite their different printer description languages subjobs can be combined using the Session command to maintain global features such as duplex mode copy count document layout and collation This gives you the flexibility to override the major document s global printing attributes for one or more subjobs Some print...

Page 73: ... or PDL inde pendent language terminators PDL specific terminators character sequences that when detected in a data stream indicated the end of a small job to a PDL for example Ctrl D for PostScript or ESC DEL 0 for PCL See the appropriate PDL documentation for details of spe cific character sequences PDL independent terminators mechanisms used to separate jobs within a document that are not defin...

Page 74: ...or emula tion Some host applications add DOC commands at the beginning of a document s data stream before transmitting a job to the Crown printer If you do not ensure that such features are completely disabled the processing of the Session command will be terminated and unexpected results may be printed Alternatively if FTP is used to transmit a document to a Crown printer supporting the Session c...

Page 75: ... to 256 characters for the line are absorbed The delimiter string must consist of printable ASCII characters It may not con tain ASCII spaces carriage return or line feed A delimiter of null means ignore the delimiter string terminator The maximum value of the delimiter string is 32 bytes or characters Notes End by Count You can specify how many bytes are contained in the current subjob After the ...

Page 76: ...ter checks again to see if the subsequent data consists of a new Session command to start the next subjob Again if the text at the start of the subsequent subjob does not match Session or if there are errors in the mode and argument parameters to the command the printer will act as if the command is not present in the job and default to the use of language specific terminators to end the subjobs f...

Page 77: ...null IncludeFeature emulation postscript EndComments PostScript data EndSubJob Session 4 End2ndSubJob IncludeFeature emulation pcl5 EndComments PCL 5e data End2ndSubJob Session 4 End3rdSubJob IncludeFeature emulation impress EndComments imPRESS data Close connection Subjob Terminator Example To further clarify subjob terminators let s look at the following example If you want to group the three su...

Page 78: ... the job Also note that the bold typeface is used to signify comments that are not part of the job Open connection data comes into the printer Session 0 0Ignore line Session 1 nullIgnore line Session 4 EndSubJobDefine 1st subjob boundary IncludeFeature emulation postscript EndComments PostScript data EndSubJob Session 0 7213Define 2nd subjob boundary Session 2 nullInclude in 2nd subjob Session 4 E...

Page 79: ...jobs to the printer However this feature is limited to the use of PDL specific delimiters to separate jobs Otherwise the advantages of using a session will apply Two types of EOD job terminator sequences are supported EndOfDocument Command This sequence is the end of document character sequence ESC 12345x Command This sequence is the Hewlett Packard end of document character sequence Syntax EndOfD...

Page 80: ... emulations may be available depending on the printer and the optional features loaded on the printer The following are examples of optional or addi tional emulations ccitt not supported by ESP lineprinter cals tiff ln03 If you choose esp the printer will use ESP even when the interface setting specifies a specific emulation Syntax IncludeFeature resolution resolution resolution Printer dependent ...

Page 81: ... representation This information can be used when interpreting color space selections to determine the appropriate display characteristics of graphics Color Separation This command defines whether monochrome color separations should be generated This information can be used when interpreting color space selections to determine the appropriate display characteristics of the output documents Syntax ...

Page 82: ......

Page 83: ...4 Selecting Emulation Features ...

Page 84: ...deFeature pen Select plotter IncludeFeature plotter Scale the image IncludeFeature scaling HP PCL 5e Emulation Commands Enable scalable fonts IncludeFeature scalablefonts Install object IncludeFeature install Remove object IncludeFeature remove Remove resource IncludeFeature removeresource Select default font IncludeFeature font Select default font ID IncludeFeature fontid Select symbol set Includ...

Page 85: ...ands SC 200 to set PostScript protocol IncludeFeature parpsprotocol CCITT Groups 3 and 4 Commands Start decompression ImageData Set encoded byte flag EBAMode Set end of block BlockEnd Set line end LineEnd Eject page PageEnd Set image position ImagePosition Invert image InvertImage Set dpi for image expansion DPI Set data compression Compression Reverse bits BitReverse End print job JobEnd Set imag...

Page 86: ...Annotation IncludeFeature annotation Reverse image control IncludeFeature reverse Control disk scratchfile size IncludeFeature scratchfile Set annotation tag number IncludeFeature tag Chapter Organization Use this table to go to the command or information included in this chapter For information on Go to Command syntax DOC Statement Syntax on page 87 HP GL emulation commands HP GL Emulation Comman...

Page 87: ...on commands TIFF on page 123 Syntax Indicator Keyword parameters Indicator An indicator that a Document Option Statement follows Indicators are Keyword The command name Typical examples of indicators and keywords are Title CreationDate IncludeFeature EndComments Argument Lowercase command that causes action to occur with the print job or printer function attributes Attributes specify settings for ...

Page 88: ...ommand selects the type of HP GL plotter to emulate Parentheses are explicit separators that must be entered as shown in the com mand syntax One space hex 20 is recommended for separation before and after the parentheses Attributes or values within brackets are optional variables Do not include the brackets Items within square brackets are optional variables Parameters or values within curly brace...

Page 89: ...ges the HP GL image size Syntax IncludeFeature size value value Letter A4 Ledger A3 Default Determined by printer control panel setting Syntax IncludeFeature origin x y x The distance the x origin point is to be moved in hundredths of an inch Range 0 11693 y The distance the y origin point is to be moved in hundredths of an inch Range 0 17000 Default Determined by printer control panel setting Syn...

Page 90: ...sets for 7550A emulation Pen Width and Color The pen command selects pen width and color for a specific pen Syntax IncludeFeature expand value value on off Default Determined by printer control panel setting Syntax IncludeFeature reverse value value on off Default Determined by printer control panel setting Syntax IncludeFeature enhanced value value on off Default Determined by printer control pan...

Page 91: ...res the following font s to the designated hard disk color Pen color Range 1 8 Number Color 1 Black 2 Red 3 Green 4 Yellow 5 Blue 6 Magenta 7 Cyan 8 White Default Determined by printer control panel setting Note On monochrome printers pen colors correspond to grey scale settings Syntax IncludeFeature font value value Courier10 courier12 Corier10bold courier12bold courier10italic courier12italic li...

Page 92: ...eed in the job s data stream to a carriage return linefeed combination Syntax IncludeFeature symbolset value value roman 8 iso 10 iso 57 ecma 94 iso 11 iso 60 pc8 us iso 14 iso 61 pc8 dn iso 15 iso 69 pc8 50 iso 16 iso 84 iso 2 iso 17 iso 85 iso 4 iso 21 german iso 6 iso 25 spanish Default Determined by printer control panel setting Syntax IncludeFeature linesperpage value value Number of lines pe...

Page 93: ...rom the disk Default Font The font command selects the default font for the emulation value on off Default Determined by printer control panel setting Syntax IncludeFeature criscrlf value value on off Default Determined by printer control panel setting Syntax IncludeFeature font name name courier10 courier10bold courier10italic courier12 courier12bold courier12italic lineprinter times times italic...

Page 94: ...th ventura us and windows symbol sets cannot be used with the internal bitmap fonts courier10 courier10bold courier10italic courier12 courier12bold courier12italic lineprinter The five dingbat symbol sets ps zapf dingbats ventura dingbats zapf dingbats100 zapfdingbats200 zapf dingbats300 can be used with all fonts If a mismatch between symbolset and font is delected the standard PCL font selection...

Page 95: ...mand specifies whether a carriage return is treated simply as a carriage return or as a carriage return line feed combination Syntax IncludeFeature linesperpage number number Range 1 3000 Syntax IncludeFeature lfiscrlf boolean boolean on off true false on or true Line feed is treated as a carriage return line feed combination off or false Line feed is treated as a line feed Syntax IncludeFeature c...

Page 96: ...print job that it is prepended to on the printer hard disk in USER FONTS PCL Syntax IncludeFeature pointsize number number Range 0 25 to 999 75 This is a floating point number Syntax IncludeFeature retainTemporary boolean boolean on off true false on or true keeps downloaded fonts macros and patterns in printer memory so they can be used again without having to be downloaded again unless the print...

Page 97: ...n id Identification number of the font macro or pattern that is to be stored Range 0 32767 This ID can be used instead of the usual PCL escape command to assign a font ID An ID from the PCL job stream overrides an ID assigned by this command Care must be taken to use distinct ID s If an ID matches an existing font macro or pattern the previous font macro or pattern will be deleted and replaced wit...

Page 98: ...ther fonts resident cartridge or other including those stored on the additional resources can be accessed only by attributes Also only objects stored in the current resource may be deleted directly by the PCL language Thus unless explicitly removed external fonts are always available to all PCL jobs Font Index Number In addition to its ID a downloaded font also has a unique index number which is a...

Page 99: ... Compatibility or when the system is reset ESC E or receipt of Printer Job Language Permanent These objects reside on the current resource and are retained when the system is reset ESC E or receipt of Printer Job Language External These objects reside on the additional resources All objects are temporary when first created They can be made permanent objects through PCL commands Both temporary and ...

Page 100: ...default location is used otherwise this parameter which must be provided specifies one of the alternate locations For most print ers resource 6 is the system disk object id Purpose Assigns an ID to an object such as a font macro or pattern Range 0 32767 Default 0 Format Integer Notes The object ID can be used instead of the usual PCL command to assign an ID This ID is overwritten by any ID assigne...

Page 101: ...ll produce the desired results Examples Example A Job 1 IncludeFeature emulation pcl5e install 6 20 EndComments ESC s W download font header ESC c33E ESC s W char 33 data ESC c34E ESC s W char 34 data ESC c5F Example A Job 2 ESC 20Xthis text is NOT in the downloaded font Example B Job 1 IncludeFeature emulation pcl5e install 6 20 EndComments ESC s W download font header ESC c33E ESC s W char 33 da...

Page 102: ...er Notes If the resource id is not specified the command will be ignored object type Purpose Specifies the kind of objects that are to be deleted from the speci fied printer system Range font macro pattern or other object type Default N A Format Character Notes If object type is or is not specified then all objects on the speci fied resource with the specified object id are removed object id Purpo...

Page 103: ...ich it is attached This command allows you to remove external objects from the system without having to generate a job containing both the Document Option Command to set the appropriate current resource and the PCL code to delete the desired object If this command is specified more than once the last command received is the one that will be executed In the following example the remove 6 5 font com...

Page 104: ...Notes This ID must be specified It indicates the resource from which the desired object is to be removed There is no way to specify all resources If a IncludeFeature install command precedes the IncludeFeature remove command the remove com mand is ignored these commands are mutually exclusive If the disk does not exist PCL issues the NO SPACE FOR FONT MACRO OR PATTERN error message object id Purpo...

Page 105: ...selection Selecting a bound bitmap font overrides the default settings for symbol set and point size An unbound font uses the speci fied default symbol set if possible while a scalable font uses the default font size Variable font name Purpose Specifies the default font name Range courier12times blditalic courier12bolduniv courier12italicuniv italic courier10univ bold courier10bolduniv blditalic c...

Page 106: ...ex number of the default font Range 0 to 32767 Default Selectbyid dependent Format Integer Syntax IncludeFeature symbolset name Purpose Specifies the default symbol set for the emulation Notes This command specifies the default symbol set Not all symbol sets are available with certain resident fonts In particular the Desktop PS Math Math 8 Microsoft Pub Pi Font PS Text Ventura Intl Ventura Math Ve...

Page 107: ... pc8 usventura intl pc8 dnventura math legalventura us iso 4windows is0 6iso latin 1 iso 11iso latin 2 iso 15iso latin 5 iso 17pc 852 iso 21pc 8tk iso 60windows3 1 1 iso 69windows3 1 2 desktopwindows3 1 5 ps mathmc text math 8 microsoft pub Default N A Format Character ...

Page 108: ...command ESC k G The second setting lfiscrlf on criscrlf off is correct for most ASCII listings printed from UNIX machines PC listings should usually be done with both items set to off and Macintosh listings usually require the third setting lfiscrlf off criscrlf on The following table shows the criscrlf lfiscrlf commands and the corresponding PCL Line Termi nation command parameters LFISCRLFCRISCR...

Page 109: ...iscrlf On Note that the FF becomes a CR FF when the LF is a CR LF Syntax IncludeFeature linesperinch Purpose Sets the default PCL line spacing Notes Both the IncludeFeature linesperinch and the obsolete IncludeFea ture linesperpage commands affect PCL s default VMI vertical motion index In the event that both are specified the linesperpage command is ignored Variable Purpose Specifies the default ...

Page 110: ...does not make the downloaded font permanent and Retain Temporary is not set then those objects are removed from the disk when the job completes A downloaded font can only be accessed by its ID if the font is stored in the cur rent resource Regardless of its resource a font can be selected by its attributes Variables resource id Purpose Identifies one of the possible locations for downloaded object...

Page 111: ...rol automatic wrapping of long lines of data select default paper size provide image offset and control the automatic resetting of the printer after a print job Product Identification The product command provides product identification to the host Syntax IncludeFeature parpsprotocol value value Binary Normal Default Determined by printer control panel setting Notes Scanners such as the SC 200 are ...

Page 112: ...n uses the transformation point that is correct for the default paper size regardless of the paper size actually selected for the print job If the override is on the emulation uses the correct transformation point for the size of paper actually selected regardless of the default paper size Syntax IncludeFeature autowrap value value on off Default Determined by printer control panel setting Syntax ...

Page 113: ...s Reset Override The reset_override command specifies whether the printer automatically resets to the initial power up configuration after every print job or retains the configuration from the previous print job PostScript Level Commands The languagelevel command selects PostScript Level 1 emulation or PostScript Level 2 emulation for PostScript print jobs and the amount of dithering applied to gr...

Page 114: ...ring The ditherdefault command selects the amount of noise applied to the standard dithering algorithm The range represents noise applied over 0 0 to 5 0 gray levels A noise setting of 0 0 indicates that the default algorithm is to be used Lineprinter Emulation Commands The lineprinter emulation commands provide font and formatting controls when printing in lineprinter mode Lineprinter emulation d...

Page 115: ... font Refer to the printer documentation for a list of resident PostScript fonts Default Courier Syntax IncludeFeature pointsize size size The size in points of the current font Range 4 256 points Fractional point sizes are allowed Default 8 8 points 13 63 characters per inch In portrait orientation the default font Courier at its default point size yields 111 columns per page 105 columns per page...

Page 116: ... feed Carriage Returns The criscrlf command defines printer action upon receiving a carriage return Syntax IncludeFeature number setting setting on enables line numbering off disables line numbering Default on Syntax IncludeFeature tab value value 1 256 character spaces Default 8 Syntax IncludeFeature lfiscrlf setting setting on printer performs a LF CR off printer performs a LF only Default on Sy...

Page 117: ...automatic text wrapping to the next line when the right margin is reached Lines Per Page The linesperpage command specifies the number of lines printed on the page before an automatic page eject Syntax IncludeFeature lporientation value value portrait landscape Default portrait Syntax IncludeFeature autowrap setting setting on off Default on Syntax IncludeFeature linesperpage value value Number of...

Page 118: ...ported on your printer All supported CCITT commands are outlined in chapter 5 Emulations of your system administrator s guide ImageData The ImageData command instructs the emulation to begin decompression of the image data using the currently set image options Syntax IncludeFeature lpmargins left top right bottom left top right bottom 0 5 50000 centipoints approximately 7 inches Units of measure M...

Page 119: ...data image LineEnd The LineEnd command sets Line End flags which indicate whether CCITT end of lines are included in the image data PageEnd The PageEnd command instructs the emulation to eject the current page whether or not any data has been printed to it and clear the page memory Syntax EBAMode setting setting true false Default false Syntax BlockEnd setting setting true false Default false Synt...

Page 120: ...on of the image data that follows the ImageData command JobEnd The JobEnd command signals the end of a CCITT print job an resets the printer to the default mode It ends the job and returns the printer to ESP mode InvertImage The InvertImage command indicates whether the black and white pixels in the image are reversed Syntax ImagePosition x y x y Integers Default 0 0 Syntax Rotation value value 0 ...

Page 121: ...e of the image data automatically setting true false Default false Syntax DPI horizontal vertical horizontal Identifies the horizontal resolution vertical Identifies the vertical resolution Default Currently selected print system resolution Notes This command can also be used to scale the image DPI resolutions above the original scanned resolution will reduce the image while DPI resolutions below ...

Page 122: ...to specify automatic 90 rotation of the CALS image for a better fit on the currently selected paper size Autoscaling The IncludeFeature autoscaling command allows you to specify automatic scaling of the CALS image for a better fit on the currently selected paper size Syntax SourceImageOrigin x y x y integers Default 0 0 Syntax SourceImageOrigin x y x y integers Default 1 1 Syntax IncludeFeature au...

Page 123: ...Sheetsel The IncludeFeature sheetsel command allows you to specify automatic selection of the paper size closest to the image size rather than using the default paper size Annotation The IncludeFeature annotation command allows you to enable or disable annotation Syntax IncludeFeature autorotation setting setting off 90 270 Default 90 Syntax IncludeFeature autoscaling setting setting on off down u...

Page 124: ...mmand allows you to define the size of the scratch file in MB created on the printer s hard disk that will contain the image during processing Tag The IncludeFeature tag command identifies the annotation tag number Syntax IncludeFeature reverse setting setting on off Default off Syntax IncludeFeature scratchfile setting setting 0 255 Default 0 Syntax IncludeFeature tag setting setting 0 65535 Defa...

Page 125: ...A Bin Assignments ...

Page 126: ...al MPT Upper Optional 2425 Manual MPT Upper Lower Enve lope Optional 4060 Upper Middle Lower Optional 1660E 1660 Manual MPT Lower Optional 1725E Manual Upper Lower Enve lope 2025 3225 3825 Upper Lower LCIT 4525 20 bin Sorter Lower Upper 4525 40 bin Sorter Lower Upper 4525 Stacker Lower Upper HP Eject Page Main Source Manual Manual Enve lope Alter nate Source Optional Source Enve lope Feeder Auto S...

Page 127: ...Center Stk Down Bottom Stk Down 4060 Upper Stk Up Stk Down 1660E 1660 Upper 1725E Upper Face up 2025 3225 3825 Upper Lower Side Face up LLCOT 4525 20 bin Sorter Side 1 to 20 4525 40 bin Sorter Side 1 to 40 4525 Stacker Side Lower Upper magicolor Upper magicolor 2 Upper magicolor 2 Upper magicolor 2200 Upper Mailbin1 opt Mailbin2 opt Mailbin3 opt Mailbin4 opt Mailbin5 opt magicolor 6100 Upper ...

Page 128: ......

Page 129: ... 122 CCITT emulation 118 BitReverse 121 BlockEnd 119 Compression 121 DPI 121 EBAMode 119 ImageData 118 ImagePosition 120 ImageSize 120 InvertImage 120 JobEnd 120 LineEnd 119 PageEnd 119 Rotation 120 SourceImageOrigin 122 SourceImagePosition 122 CCITT Group 3 4 commands 118 Changing color model 81 Changing intensity 81 Changing resolution 80 ChargeNumber command 29 Choosing media type 45 ...

Page 130: ...122 autorotation TIFF 123 autoscaling CALS 122 autoscaling TIFF 123 autowrap Lineprinter 117 autowrap LN03 Plus 112 background 60 BitReverse CCITT 121 BlockEnd CCITT 119 booklet 54 border 55 charge number 29 collate 45 colormodel 81 colorseparation 81 Compression CCITT 121 CopyRight 29 criscrlf Lineprinter 116 criscrlf PCL 5e 5c 108 criscrlf PCL4 93 date 28 ditherdefault PostScript 114 DPI CCITT 1...

Page 131: ...urcel PCL 5e 5c 104 reset PCL4 92 reset_override LN03 Plus 113 resolution 80 resource PCL 5e 5c 110 resource PCL4 91 reverse HP GL 90 reverse TIFF 124 Rotation CCITT 120 Routing 28 scaling percent HP GL 89 scratchfile TIFF 124 sheetsel TIFF 123 size HP GL 89 SourceImageOrigin CCITT 122 SourceImagePosition CCITT 122 staple 46 symbolset PCL 5e 5c 106 symbolset PCL4 92 tab Lineprinter 116 trailer 25 ...

Page 132: ... sets 92 HP PCL4 emulation commands 91 criscrlf 93 font 91 lfiscrlf 92 linesperpage 92 reset 92 resource 91 symbolset 92 HP PCL5 emulation 93 Carriage returns 95 Default font 93 Default symbol set 94 Font id 94 Install to disk 96 Line feeds 95 Line termination 95 Lines per page 95 Point size 96 Remove from disk 97 Retain temporary 96 HP PCL5 emulation commands 93 criscrlf 95 font 93 fontid 94 inst...

Page 133: ...gin 113 M Margins 47 Margins command 47 Mediatype command 45 N Notify 15 Number up printing 51 Numcopies command 42 O Offset command 45 Offsetting print jobs 45 46 Orientation command 42 Output bin assignments 126 Output bins 41 P Page layout commands 46 booklet 53 margins 47 pagegrid 51 pageoffsets 48 pagescaling 48 pagesize 46 Page margins 47 Page offsets 48 Page orientation 48 Page scaling 48 P...

Page 134: ...rs 55 Printing commands 39 background 59 border 55 input 40 numcopies 42 orientation 42 output 41 pagerange 43 Printing duplex 44 Printing header pages 22 Printing trailer pages 25 Prologue 9 Terminator 12 Q Quality 80 R Reprint 15 Resolution 80 Retaining a print job 27 Routing command 28 S Selecting printer features 36 Sessions Document Option Commands 72 Examples 76 Stacker control 45 46 Stacker...

Reviews: