| 1 |
This file contains sample commands could be used to print different file types. |
| 2 |
It also includes example how to set printing options supported by the drivers. |
| 3 |
|
| 4 |
Note, all commands use default printer as a destination printer. |
| 5 |
To use other then the default printer, add "-P <printername>" option to the commands. |
| 6 |
|
| 7 |
|
| 8 |
Sample commands for LabelWriter: |
| 9 |
|
| 10 |
1. printing PostScript file |
| 11 |
lpr -o landscape -o PageSize=w167h288 test.ps |
| 12 |
|
| 13 |
2. printing image file |
| 14 |
lpr -o ppi=300 -o PageSize=w167h288 -o PrintQuality=Graphics TestImage.png |
| 15 |
|
| 16 |
3. printing text file |
| 17 |
lpr -o PageSize=w167h288 -o PrintQuality=Text test.txt |
| 18 |
|
| 19 |
4. printing on "continuous" paper |
| 20 |
lpr -o PageSize=w154h7680 -o PrintQuality=Text test.txt |
| 21 |
|
| 22 |
5. printing on specific roll on Twin Turbo |
| 23 |
lpr -o PageSize=w167h288 -o InputSlot=Right test.txt |
| 24 |
lpr -o PageSize=w167h288 -o InputSlot=Left test.txt |
| 25 |
lpr -o PageSize=w167h288 -o InputSlot=Auto test.txt |
| 26 |
|
| 27 |
6. using different quality |
| 28 |
lpr -o ppi=300 -o PageSize=w167h288 -o PrintQuality=Graphics TestImage.png |
| 29 |
lpr -o ppi=300 -o PageSize=w167h288 -o PrintQuality=Text TestImage.png |
| 30 |
|
| 31 |
7. using different darkness |
| 32 |
lpr -o ppi=300 -o PageSize=w167h288 -o PrintDensity=Light TestImage.png |
| 33 |
lpr -o ppi=300 -o PageSize=w167h288 -o PrintDensity=Medium TestImage.png |
| 34 |
lpr -o ppi=300 -o PageSize=w167h288 -o PrintDensity=Normal TestImage.png |
| 35 |
lpr -o ppi=300 -o PageSize=w167h288 -o PrintDensity=Dark TestImage.png |
| 36 |
|
| 37 |
Sample commands for LabelMANAGER: |
| 38 |
|
| 39 |
1. printing PostScript file |
| 40 |
lpr -o landscape -o PageSize=w68h252 test.ps |
| 41 |
|
| 42 |
2. printing text file |
| 43 |
lpr -o landscape -o PageSize=w68h252 test.txt |
| 44 |
|
| 45 |
3. printing aligned labels |
| 46 |
lpr -o landscape -o PageSize=w68h252 -o LabelAlignment=Left test.txt |
| 47 |
lpr -o landscape -o PageSize=w68h252 -o LabelAlignment=Right test.txt |
| 48 |
lpr -o landscape -o PageSize=w68h252 -o LabelAlignment=Center test.txt |
| 49 |
|
| 50 |
4. printing on "auto" paper - does not print empty lines at the end of the label |
| 51 |
lpr -o landscape -o Pagesize=w68h4000 longtest.txt |
| 52 |
lpr -o landscape -o Pagesize=w68h252 longtest.txt |
| 53 |
|
| 54 |
5. using different cutting options |
| 55 |
lpr -o landscape -o Pagesize=w68h252 -o CutOptions=ChainMarks longtest.txt |
| 56 |
|
| 57 |
6. using different tape color |
| 58 |
lpr -o landscape -o PageSize=w68h252 -o TapeColor=0 test.txt |
| 59 |
lpr -o landscape -o PageSize=w68h252 -o TapeColor=1 test.txt |
| 60 |
lpr -o landscape -o PageSize=w68h252 -o TapeColor=12 test.txt |
| 61 |
|
| 62 |
7. printing in continuous mode - leader/trailer is not used |
| 63 |
lpr -o landscape -o Pagesize=w68h252 -o ContinuousPaper=0 longtest.txt |
| 64 |
lpr -o landscape -o Pagesize=w68h252 -o ContinuousPaper=1 longtest.txt |
| 65 |
lpr -o landscape -o Pagesize=w68h252 -o ContinuousPaper=1 -o CutOptions=ChainMarks longtest.txt |
| 66 |
|