Printjobname, Quit, Return – QuickLabel Designer Pro User Manual
Page 190: Sessionend, Sessionprint, Sessionstart
![background image](https://www.manualsdir.com/files/801746/content/doc190.png)
- 190 -
For printer_name always use the system printer name as is displayed in the status line in the label
design application. System printer names are usually the same as the printer names in Printers folder
from Control Panel, but not always, so pay attention. They differ only when you are using network-
connected printers, when you should use "\\SERVER\SHARE" syntax and not a printer friendly
name.
PRINTJOBNAME
PRINTJOBNAME
Specifies the print job name that will be used in print manager when using PRINT command. After
printing the name is returned in normal state. Use this option to easier distinguish between different
printing jobs in the Windows spooler.
If variable value contains space characters or commas, you have to enclose the text in quotation
marks (e.g. PRINTJOBNAME "Label for printing").
QUIT
This command stops the labeling program after printing. The application is closed.
RETURN
This command returns focus to the main labeling program after the printing completes.
SESSIONEND
The function closes data stream.
SESSIONPRINT
SESSIONPRINT quantity [, skip]
You send the data stream to printer using this function. You can use multiple SessionPrint commands
one after another and join them in single data stream. The stream is not closed until the command
SessionEnd occurs. The meaning of quantity and skip parameters is the same as with NiceCommand
PRINT.
Note: Make sure the quantity is provided as the numeric value, not string value. Do not enclose the
value in the double quotes.
SESSIONSTART
All three commands(SessionStart, SessionPrint, SessionEnd) are used together. If ordinary command
SessionPrint is used, every time a complete data stream for printer is sent. If you want to join mul-
tiple Print commands into one data stream, you can use the command SessionStart followed with any
number of SessionPrint commands and in the end use the command SessionEnd. The stream is not
closed until the command SessionEnd occurs.
These commands offer a way of optimal label printing. It is not necessary to generate a complete
data stream for each print session, you can join more sessions in one stream.
Important for the session printing:
l
You cannot change the label template within a session
l
You cannot use commands SETDATABASE and SETTABLE within a session