Xerox file formats

Printers

If you are printing to a Xerox laser printer, this information can help resolve printing problems. This describes how the Barr Enterprise Print Server handles files with LPS Acronym for Laser Printer Series. A Xerox file format used for form overlays, fonts, or logos., Interpress A page description language from Xerox used on the 2700 and 9700 page printers (medium to large-scale laser printers)., Metacode A Xerox-generated data stream that provides all-points addressability on Xerox centralized printers., and LCDS Acronym for Line Condition Data Stream. An LCDS print job or print file is line data (text) with some text-based Xerox commands included, such as DJDE commands. file formats.

Files with these formats are usually created on a computer and sent to Xerox laser printers from BARR/PRINT390 or BARR/PRINT to EPS. Printer resource files from the mainframe also can be in these formats at the host.

When Barr Enterprise Print Server sends these files to the printer, it performs special processing, depending on the file type. Files in LPS or Interpress format are considered binary files. BARR/PRINT390 sends DJDE Acronym for Dynamic Job Descriptor Entry. A set of instructions within the data stream that tells the printer what forms, fonts, and graphics to print for Xerox centralized printers. strings to the printer at the beginning of the file and then sends the file in 128-byte blocks. You specify the format of the DJDE strings for laser printers by setting the Xerox IDEN parameters on the printer's Device Settings tab. (Access this tab by right-clicking the printer and selecting Properties.) When the software sends files with the VBM format to the printer, neither channel commands or data are translated.

See also:


LPS files

LPS files are used as form overlays, fonts, or logos. Typically, these resource files are created on the computer and then stored on the Xerox printer’s hard disk. When a file is sent to the printer, DJDEs in the print data tell the printer which resources to use.

You can use BARR/PRINT390 to move these resource files to the printer. Usually you only need to send the files to the printer when you create or modify the printer.

LPS file format

LPS files are distinguished by a 128-byte file format header that contains the file name and file type. The number of bytes in the file is typically an integer multiple of 128. The following table describes the file header.

Offset

Field

Comments

0

File name (RAD 50 format)

Zero if not used

4

File name (RAD 50 format)

Zero if not used, Font = C4 27, Form = 5D 28, Logo = 27 4C

6

File size

File size in 512 byte blocks

8

First free byte

 

10

Date (DOS format)

Not used

12

Record size in byte

 

16

Reserved

 

18

ASCII file name

Only six of the nine bytes are used, the unused bytes must be zero

27

ASCII file type

Font = FNT, Form = FRM, Logo = LGO

30

Reserved

 

34

00

 

126

00

 

127

2A

ASCII asterisk (*)

LPS file processing

BARR/PRINT390 tests for the two byte values 00 2A starting at offset 126. That is, it checks byte 127 for a value of 00 and byte 128 for a value of 2A or an asterisk (*).

When BARR/PRINT390 sends an LPS file to the printer, it first sends this DJDE string:

$DJDE$ FILE=(), END;

The printer gets the file name and type from the first record of the LPS file. BARR/PRINT390 sends the remainder of the file as 128-byte records. At the end of each record, the software adds 00 (byte 129) and sends a Write and Space command. If the last record does not contain 128 bytes, BARR/PRINT390 pads the record with 00 bytes up to byte 128, and then 00.

Interpress files

You can produce graphic files on the computer in the Interpress format and then use BARR/PRINT390 to send these files to the printer.

Interpress file format

The Interpress file is a binary file with a header record that contains the words:

INTERPRESS XEROX IMG

The number of character spaces between these words can vary. The number of bytes in the file is typically an integer multiple of 128.

Interpress file processing

Interpress file processing is similar to LPS file processing. To determine whether a file is in Interpress format, BARR/PRINT390 searches for the words INTERPRESS, XEROX, and IMG in the first 128 bytes of the file. The words can be uppercase or lowercase.

When BARR/PRINT390 sends this type of file to the printer, it first sends two DJDE strings:

$DJDE$ BEGIN=, END;

$DJDE$ GRAPHIC, END;

BARR/PRINT390 sends the remainder of the file as 128-byte records. At the end of each record, the software adds 00 (byte 129) and sends a Write and Space command. If the last record does not contain 128 bytes, BARR/PRINT390 pads the record with 00 bytes up to byte 128, and then adds 00.

Metacode and LCDS files

Because some print data (Xerox LCDS Acronym for Line Condition Data Stream. An LCDS print job or print file is line data (text) with some text-based Xerox commands included, such as DJDE commands. and Metacode A Xerox-generated data stream that provides all-points addressability on Xerox centralized printers. Metacode is a block variable, print file format similar to the mainframe format RECFM=VBM. Metacode files are generated with host and computer programs.) contains special formatting that would conflict with ASCII control characters, Barr Enterprise Print Server must receive this data in one of the following formats: VBM or S/370. For more information, see the File and record formats topic.