NEWS APPS DOCS ABOUT | ||||
Autodocs Devices: printer.device --background-- CMD_FLUSH CMD_INVALID CMD_RESET CMD_START CMD_STOP CMD_WRITE CallErrHook PBothReady PQuery PRD_DUMPRPORT PRD_DUMPRPORTTAGS PRD_EDITPREFS PRD_PRTCOMMAND PRD_QUERY PRD_RAWWRITE PRD_READPREFS PRD_SETERRHOOK PRD_WRITEPREFS PRead PWrite Include GuruMeditation | NAMECMD_WRITE -- send output to the printer FUNCTIONThis function causes a buffer of characters to be written to the NOTESNot all printers will support all functions. In particular you may RESULTio_Error : if CMD_WRITE succeeded, then io_Error will be zero. SEE ALSOprinter.h, parallel.device(), serial.device(), Preferences, ANSI X3.64 style COMMANDS, aRIS ESCc hard reset, aRIN ESC#1 initialize to defaults, aIND ESCD true linefeed (lf, aNEL ESCE return, lf, aRI ESCM reverse lf *, aSGR0 ESC[0m normal character set, aSGR3 ESC[3m italics on, aSGR23 ESC[23m italics off, aSGR4 ESC[4m underline on, aSGR24 ESC[24m underline off, aSGR1 ESC[1m boldface on, aSGR22 ESC[22m boldface off, aSFC SGR30-39 set foreground color, aSBC SGR40-49 set background color, aSHORP0 ESC[0w normal pitch, aSHORP2 ESC[2w elite on, aSHORP1 ESC[1w elite off, aSHORP4 ESC[4w condensed on, aSHORP3 ESC[3w condensed off, aSHORP6 ESC[6w enlarged on, aSHORP5 ESC[5w enlarged off, aDEN6 ESC[6"z shadow print on, aDEN5 ESC[5"z shadow print off, aDEN4 ESC[4"z doublestrike on, aDEN3 ESC[3"z doublestrike off, aDEN2 ESC[2"z Near Letter Quality (NLQ) on, aDEN1 ESC[1"z NLQ off, aSUS2 ESC[2v superscript on, aSUS1 ESC[1v superscript off, aSUS4 ESC[4v subscript on, aSUS3 ESC[3v subscript off, aSUS0 ESC[0v normalize the line *, aPLU ESCL partial line up *, aPLD ESCK partial line down *, aFNT0 ESC(B US char set (default) or Font 0, aFNT1 ESC(R French char set or Font 1, aFNT2 ESC(K German char set or Font 2, aFNT3 ESC(A UK char set or Font 3, aFNT4 ESC(E Danish I char set or Font 4, aFNT5 ESC(H Sweden char set or Font 5, aFNT6 ESC(Y Italian char set or Font 6, aFNT7 ESC(Z Spanish char set or Font 7, aFNT8 ESC(J Japanese char set or Font 8, aFNT9 ESC(6 Norweign char set or Font 9, aFNT10 ESC(C Danish II char set or Font 10, aPROP2 ESC[2p proportional on *, aPROP1 ESC[1p proportional off *, aPROP0 ESC[0p proportional clear *, aTSS ESC[n E set proportional offset *, aJFY5 ESC[5 F auto left justify *, aJFY7 ESC[7 F auto right justify *, aJFY6 ESC[6 F auto full justify *, aJFY0 ESC[0 F auto justify off *, aJFY3 ESC[3 F letter space (justify) *, aJFY1 ESC[1 F word fill(auto center) *, aVERP0 ESC[0z 1/8" line spacing, aVERP1 ESC[1z 1/6" line spacing, aSLPP ESC[nt set form length n, aPERF ESC[nq set perforation skip to n lines (n>0, aPERF0 ESC[0q perforation skip off, aLMS ESC#9 Left margin set *, aRMS ESC#0 Right margin set *, aTMS ESC#8 Top margin set *, aBMS ESC#2 Bottom margin set *, aSTBM ESC[Pn1;Pn2r set T&B margins *, aSLRM ESC[Pn1;Pn2s set L&R margin *, aCAM ESC#3 Clear margins, aHTS ESCH Set horiz tab *, aVTS ESCJ Set vertical tabs *, aTBC0 ESC[0g Clr horiz tab *, aTBC3 ESC[3g Clear all h tab *, aTBC1 ESC[1g Clr vertical tabs *, aTBC4 ESC[4g Clr all v tabs *, aTBCALL ESC#4 Clr all h & v tabs *, aTBSALL ESC#5 Set default tabs (every 8, aEXTEND ESC[Pn"x Extended commands, This is a mechanism for printer drivers to, support extra commands which can be called, by ANSI control sequences, aRAW ESC[Pn"r Next 'Pn' chars are raw (ie. they are not, parsed by the printer device, instead they, are sent directly to the printer., *) indicates that sending this command may cause unexpected results, on a large number of printers.Comments |
$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se |