Printing Control Commands!
Hi!
I want to know that all sap script control commands work for smartform.
eg. protect endprotect newline pagebreak etc..
If no is how to fullfill in smartforms.
Thanks
Hi,
IN Smartforms.. all these commands will work but the
way of using them is different.
for ex: if u want trigger a new page on certain condition..in scripts
we use NEW-PAGE command but where as in Smartforms
we create a COMMAND node in that we check the NEW PAGE
option and give the page name that is to be triggered.
That is one of the main difference between Smartfroms and Scripts.
In scripts, we need to code every thing but in smartforms we have by default
IF statement in scripts is similar to Alternative options..
just we need to know how to use them.
Thanks
Dinakar.
Similar Messages
-
Print-control commands for dotmatrix printer
dear all,
Here my requirement is we are using datamax printer ( dotmatrix printer) for printing script and i need some commands for that.
please reply soon.
thanx inadvanceHi Don
Thank's for your reply.
That's excactly what we want to do: within the same report we'll use different trays and/or number of copies.
In the meantime, we talked to the manufacturer of the ELP module. They told us that the print stream contains parts of the correct sequence, but unfortunately the trailing two closing paranthesis are missing. For that reason, the command string is not recognized as valid command and is therefore printed "as is".
We tried to add additional characters after the trailing paranthesis, again no success...
The next step is to use the newer CR runtime, as Nikhil suggested in his answer.
Weird problem...
Regards
Daniel -
SAP Script : Control Commands for printing Label (barcode) by Zebra Printer
Hello,
I would like to know the control commands in sap script for Zebra Printer. The purpose of task is to print a field in barcode format in Right Bottom of the label.
The sample code is placed below. Kindly have a look at it. The problem now i am facing is, the barcode for Customer PO is printing on the wrong place (Left Bottom, the text & barcode are overwriting). Can anyone suggest a possible way or can any one send the document for Barcode commands in SAP Script for Zebra Printer.
Sample script code:
Initialization and reset Barcode
XAMCY^XZ
Start
^XA
Barcode setup
^BY3,2.7,2.2
Set label home position
^LH
^FWN
FO385,025A0R,40,50FDPN: &VBAP-MATNR&FS
FO385,725A0R,40,50FD&VBAP-ARKTX&FS
FO385,1710A0R,40,50FDRtns: &zsntsc-contr&FS
FO345,025A0R,40,50FDService Order# &AUFK-AUFNR&FS
FO345,725A0R,40,50FDSerial# &EQUI-SERNR&FS
FO345,1710A0R,40,50FDRepair Order# &VBAP-VBELN&FS
FO245,025B3R,N,90,N,NFD&AUFK-AUFNR&FS
FO245,725B3R,N,90,N,NFD&EQUI-SERNR&FS
FO245,1710B3R,N,90,N,NFD&VBAP-VBELN&FS
FO138,1710A0R,40,35FDCustomer PO# &VBKD-BSTKD&FS
FO98,025A0R,40,50FDWrnty: &W_WARRANTY&FS
FO98,605A0R,40,50FDRoute: &W_ROUTE&FS
FO58,025A0R,40,35FDShip-to-name: &W_NAME1&FS
FO58,1325A0R,40,35FDMinor Group/Nr: &TVM5T-BEZEI&FS
FO58,1325A0R,40,35FDMinor Group/Nr: &TVM5T-BEZEI&FS
FO18,885A0R,40,35FDReported By: &QMEL-QMNAM&FS
FO18,1710B3R,N,90,N,NFD&VBKD-BSTKD&FS
^XZ
Thanks in Advance,
RamasamyHI
GOOD
GO THROUGH THIS
A barcode solution consists of the following:
- a barcode printer
- a barcode reader
- a mobile data collection application/program
A barcode label is a special symbology to represent human readable information such as a material number or batch number
in machine readable format.
There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
You can print barcodes from SAP by modifying an existing output form.
Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
Not to fear though, there are two ways to get around this:
- You can have your IT department do some research -
most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
- Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
- Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
Now you have a barcode printed - what next?
Well there are two options, depending on your business requirements:
- You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
- Another solution is to use SAPConsole transactions
or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor.
These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
GO THROUGH THESE LINKS
http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
THANKS
MRUTYUN -
How to deal with Print Controls in SAP SCRIPT
Hello All...
I have two requirement in SAP SCRIPT for which I will need to use PRINT CONTROLS.
1) To print a window with 90 degree rotation
2) In the same window I wanted to have black background and white text printed on it.
For rotating the text,
Primary basis I created two Z print controls using SPAD.
One to rotate with 90 and another to rotate with 0.
In SPAD I assigned \e&a90P and \e&a0P respectivaly in device type.
Now in sap script window I specified below commands...
/: PRINT-CONTROL Z90
= TEST
/: PRINT-CONTROL Z00
but in the SP01 the text is still printing Horizontally...
Also Is there any standard print controls which set backgroud to black for specific window.
and how to use that?
Please help me to resolve this issue.
Thanks in advance,
ShwetaHi,
Occassionally, when you make frequent changes to your SAPScript, the system can get out of sync.
When you view the form, the old data get display without your changes.
This can be fixed by deleting the SAPScript LOAD with program RSTXDELL.
Hope it helps.
Reward if helpful.
Regards,
Sipra -
hi Experts,
I'm having a SAPscript, in it i have a signatrue window. This window triggers a PRINT-CONTROL on some condition.
there is a transaction SPAD which gives us a list of existing PRINT-CONTROL.
when we view this PRINT-CONTROL i cannnot find it specification i.e. for what purpose it is used, what it impact to the output? like changes a outputs to specific font ..etc.
Where can i view the inner details of PRINT-CONTROL.
Thanks for the help.
GovindHi,
the print-controls are printer specific. Menas, U want the printer to print bold, so set up a print control for the printer typ sending him the printer sepcific commands to print in bold.
If you want to know what exactly the print-control means, you have to take the programming guide of the printer and to "decode" the print control into plain text...
Regards
Patrick -
Hi experts,
we are printing labels via SAP-Script.
In this SAP-Script we use print-controls, which we have to save into a datamatrix on the label (customer needs this at scan).
Therefore we have created print-controls (SPAD->Device Types) which following setup:
name = ZGS ; Direct ; Hexadecimal ; Value = "1D"
These are the sapscript lines, which saves the content (=test<PC>test2) into datamatrix (<> = format).
<* > test
</: > PRINT-CONTROL ZGS
<= > test2
(there are no spaces after test and test2)
Our big problem is, that there is a space BEFORE the print-control.
content sould be = "test<PC>test2" (without space)
content is = "test <PC>test2" (space betweend test and <PC>
Any ideas, how I can avoid the space BEFORE the print-control?
(space between PRINT-CONTROL and ZGS has to be! Otherwise command does not run.
Thx for any helpHi,
thx for the fast help.
I've also tried an other editor - no spaces in sap-script.
I already found out, that space is appended to the text when a PC is followed.
And this only happens, when PC follows. If a text follows a text, there are no spaces appended.
I've already sent an OSS-request.
I will update this forum after the answer from SAP.
Solution with concatinating PC into text, is also my last hope.
But I would like to know the answer from SAP. -
I'm trying to use a command in a smartform to set a printer control. What I do is:
- I choose the node containing the text I want to alter. In this case it's the MAIN window.
- I right-click on it and I select create->flow logic->command
- In the general properties tab, in the input field for printer control, I choose some control.
- I print (I'm using LOCL printer).
The text remains unchanged. What I'm getting wrong?
Thank you in advance.If you defined the Printer control in TCODE SPAD then you can use the following Coding before the Text to be displayed
PRINT-CONTROL <Printer control Name>.
<TEXT>
Kanagaraja L -
Is there a Windows Print Screen command for Mac?
I need a screen shot for a presentation. Is there a "print screen" command for Mac OS, analogous to Windows?
Command-Shift-3: Take a screenshot of the screen, and save it as a file on the desktop
Command-Shift-4, then select an area: Take a screenshot of an area and save it as a file on the desktop
Command-Shift-4, then space, then click a window: Take a screenshot of a window and save it as a file on the desktop
Command-Control-Shift-3: Take a screenshot of the screen, and save it to the clipboard
Command-Control-Shift-4, then select an area: Take a screenshot of an area and save it to the clipboard
Command-Control-Shift-4, then space, then click a window: Take a screenshot of a window and save it to the clipboard -
Problem with SAP Script (Control Commands)
Dear friends,
I am facing one problem withg control commands. When i use <b>PROTECT.....ENDPROTECT</b> with <b>VAR type</b> window then it is not working instead i use with <b>MAIN type</b> window it is working fine. Another problem with <b>BOX command</b> when i use with <b>MAIN type</b> window then it is not working but when i use with VAR type window then it is working fine. SO i am little bit confused that is there any relation between control commands and window type?
THanks & Regards,
BhavinHi,
There is no restriction to use any control commands on any windows.
The SAP doesnt give any error, but the point of using Protect Endprotect in windows other than main window doesnt apply.
Only main window carries from one page to another. So in order to print certain lines in a single page we use this control command.
Regarding BOX command it works fine on any window.
Thanks and Regards.
Lavanya. -
Print-controls for changing font size & cpi
Hi ,
I want to know how to use print-controls in ABAP-simple reports for changing font size & cpi for headings and then detail list should be with different font & cpi.
please help with example.
thanks
Vinayak.Hi Vinayak,
Just use the command PRINT-CONTROL CPI <characters per inch> and PRINT-CONTROL FONT <fontname> to switch from CPI and Font wherever you like.
Regards,
John. -
Anyone know where to get printer control codes for an HP Laserjet printer? Back in the old days of dot matrix printers, the manuals always had tables for ASCII, HEX or IBM, etc control codes. I have some old "Basic" software that I want to imbed printer commands to do things like expanded print, bold print, etc.
A table of simple PCL commands is available here.
Regards,
Bob Headrick, Microsoft MVP Printing/Imaging
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
What are control commands in SAP Scripts?
Preeti,
Control Command Purpose:
The purpose of these is to allow control of the output formatting. These commands are not interpreted by the SAPscript editor, but are passed through to the SAPscript Composer for processing. The Composer is the program that converts text from the form displayed in the editor to the form used for printing. This includes, for example, line and page formatting, the replacement of symbols with their current values and the formatting of text according to the paragraph and character formats specified.
The SAPscript control commands are described in the following sections.
Syntax of Control Commands
Explicit Page Break: NEW-PAGE
Preventing Page Breaks: PROTECT
Next Main Window: NEW-WINDOW
Assigning a Value to a Text Symbol: DEFINE
Formatting Date Fields: SET DATE MASK
Formatting Time Fields: SET TIME MASK
Country-Dependent Formatting: SET COUNTRY
Position of the Leading Sign: SET SIGN
Initializing Numbered Paragraphs: RESET
Including Other Texts: INCLUDE
Changing the Style: STYLE
Formatting Addresses: ADDRESS
Setting a Header Text in the Main Window: TOP
Setting a Footer Text in the Main Window: BOTTOM
Conditional Text: IF
Finding a Match: CASE
Calling ABAP Subroutines: PERFORM
Inserting Print Controls: PRINT-CONTROL
Boxes, Lines, Shading: BOX, POSITION, SIZE
Hexadecimal Data: HEX, ENDHEX
Summing a Program Symbol: SUMMING
refer.
Re: SAP SCRIPT COMMANDS
check this link
http://www.allsaplinks.com/Scripts_1.html
Don't forget to reward if useful -
About control commands in scripts
hi abapers
can u plz tell about control commands in scripts uses of control commandsHi,
Control Command Purpose:
The purpose of these is to allow control of the output formatting. These commands are not interpreted by the SAPscript editor, but are passed through to the SAPscript Composer for processing. The Composer is the program that converts text from the form displayed in the editor to the form used for printing. This includes, for example, line and page formatting, the replacement of symbols with their current values and the formatting of text according to the paragraph and character formats specified.
The SAPscript control commands are described in the following sections.
<b>Syntax of Control Commands</b>
Explicit Page Break: NEW-PAGE
Preventing Page Breaks: PROTECT
Next Main Window: NEW-WINDOW
Assigning a Value to a Text Symbol: DEFINE
Formatting Date Fields: SET DATE MASK
Formatting Time Fields: SET TIME MASK
Country-Dependent Formatting: SET COUNTRY
Position of the Leading Sign: SET SIGN
Initializing Numbered Paragraphs: RESET
Including Other Texts: INCLUDE
Changing the Style: STYLE
Formatting Addresses: ADDRESS
Setting a Header Text in the Main Window: TOP
Setting a Footer Text in the Main Window: BOTTOM
Conditional Text: IF
Finding a Match: CASE
Calling ABAP Subroutines: PERFORM
Inserting Print Controls: PRINT-CONTROL
Boxes, Lines, Shading: BOX, POSITION, SIZE
Hexadecimal Data: HEX, ENDHEX
Summing a Program Symbol: SUMMING
Br,
Laxmi -
Hi,
I've got a new Ricoh Aficio MP 6001. We would liket to change input try and output try from our ABAP system.
So we have copy RC001U18 to new several custom device type and we would change input try and output try for each one.
But... it seams that print control are ignored, from Ricoh documentation:
TRO__ === Output bins === (*3)
TRO01 (DEVICE-SPECIFIC) <esc>&l1G
TRO02 (DEVICE-SPECIFIC) <esc>&l100G
TRO03 (DEVICE-SPECIFIC) <esc>&l101G
TRO04 (DEVICE-SPECIFIC) <esc>&l2G
TRO05 (NOT SUPPORTED) <esc>&l102G
TRO06 (NOT USED) <empty>
TRO07 (NOT USED) <empty>
TRO08 (NOT USED) <empty>
TRO09 (NOT USED) <empty>
TRO10 (DEVICE-SPECIFIC) <esc>&l3G
TRO11 (DEVICE-SPECIFIC) <esc>&l4G
TRO12 (DEVICE-SPECIFIC) <esc>&l5G
TRO13 (DEVICE-SPECIFIC) <esc>&l6G
TRO14 (DEVICE-SPECIFIC) <esc>&l7G
TRO15 (DEVICE-SPECIFIC) <esc>&l8G
TRO16 (DEVICE-SPECIFIC) <esc>&l9G
TRO17 (DEVICE-SPECIFIC) <esc>&l10G
TRO18 (DEVICE-SPECIFIC) <esc>&l11G
TRO19 (DEVICE-SPECIFIC) <esc>&l12G
TROST (DEVICE-SPECIFIC) <esc>&l1G
TRY__ === Input bins === (*3,*4)
TRY01 (DEVICE-SPECIFIC) <esc>&l8H
TRY02 (DEVICE-SPECIFIC) <esc>&l1H
TRY03 (DEVICE-SPECIFIC) <esc>&l4H
TRY04 (DEVICE-SPECIFIC) <esc>&l30H
TRY05 (DEVICE-SPECIFIC) <esc>&l5H
TRY06 (NOT USED) <empty>
TRY07 (NOT USED) <empty>
TRY08 (NOT USED) <empty>
TRY09 (NOT USED) <empty>
TRYB4 (DEVICE-SPECIFIC) <esc>&l22H
TRYB5 (DEVICE-SPECIFIC) <esc>&l23H
TRYB6 (DEVICE-SPECIFIC) <esc>&l24H
TRYB7 (DEVICE-SPECIFIC) <esc>&l25H
TRYEN Envelope Feeder <esc>&l6H
TRYME Manual Envelope Feeder <esc>&l3H
TRYMN Bypass / Manual Tray <esc>&l2H
TRYST (DEVICE-SPECIFIC) <esc>&l0H
I've try with:
##======================================================================
## [PJL.16] OUTPUT BIN 1/2
@PJL SET OUTBIN = UPPER \r\n
##======================================================================
## [PCL.01] INPUT BIN
###\p<POSSOPT:01>
\e&l3H
##======================================================================
## [PCL.02] OUTPUT BIN 2/2
###\p<POSSOPT:02>
\e&l101G
but no success, each spool are printed on default input/output tryHi,
Ricoh has got only a generic printer's handbook, not for a specific printer so, the command "<esc>&l3G" it's not valid.
I find in open-source land the right command:
*OpenUI *OutputBin/Destination: PickOne
*FoomaticRIPOption OutputBin: enum JCL A
*OrderDependency: 210 AnySetup *OutputBin
*DefaultOutputBin: Default
*OutputBin Default/Printer Default: "%% FoomaticRIPOptionSetting: OutputBin=Default"
*FoomaticRIPOptionSetting OutputBin=Default: "SET OUTBIN=SYSDEFAULT"
*OutputBin Standard/Copy Tray: "%% FoomaticRIPOptionSetting: OutputBin=Standard"
*FoomaticRIPOptionSetting OutputBin=Standard: "SET OUTBIN=UPPER"
*OutputBin FinEUPHDUpper/Finisher SR4030 Upper Tray: "%% FoomaticRIPOptionSetting: OutputBin=FinEUPHDUpper"
*FoomaticRIPOptionSetting OutputBin=FinEUPHDUpper: "SET OUTBIN=FINISHERPROOF"
*OutputBin FinEUPHDShift/Finisher SR4030 Shift Tray: "%% FoomaticRIPOptionSetting: OutputBin=FinEUPHDShift"
*FoomaticRIPOptionSetting OutputBin=FinEUPHDShift: "SET OUTBIN=FINISHERSHIFT"
*OutputBin FinEUPHDBKUpper/Finisher SR4040 Upper Tray: "%% FoomaticRIPOptionSetting: OutputBin=FinEUPHDBKUpper"
*FoomaticRIPOptionSetting OutputBin=FinEUPHDBKUpper: "SET OUTBIN=FINISHERPROOF"
*OutputBin FinEUPHDBKShift/Finisher SR4040 Shift Tray: "%% FoomaticRIPOptionSetting: OutputBin=FinEUPHDBKShift"
*FoomaticRIPOptionSetting OutputBin=FinEUPHDBKShift: "SET OUTBIN=FINISHERSHIFT"
*OutputBin FinEUPHDBK/Finisher SR4040 Booklet Tray: "%% FoomaticRIPOptionSetting: OutputBin=FinEUPHDBK"
*FoomaticRIPOptionSetting OutputBin=FinEUPHDBK: "SET OUTBIN=FINISHERBOOKLET"
*OutputBin FinVICTGUpper/Finisher SR4050 Upper Tray: "%% FoomaticRIPOptionSetting: OutputBin=FinVICTGUpper"
*FoomaticRIPOptionSetting OutputBin=FinVICTGUpper: "SET OUTBIN=FINISHERPROOF"
*OutputBin FinVICTGShift/Finisher SR4050 Shift Tray: "%% FoomaticRIPOptionSetting: OutputBin=FinVICTGShift"
*FoomaticRIPOptionSetting OutputBin=FinVICTGShift: "SET OUTBIN=FINISHERSHIFT"
*OutputBin PlockmaticTray/Booklet Processor Tray: "%% FoomaticRIPOptionSetting: OutputBin=PlockmaticTray"
*FoomaticRIPOptionSetting OutputBin=PlockmaticTray: "SET OUTBIN=FINISHERSHIFT"
*OutputBin FinDONAUProof/Folding Unit Tray: "%% FoomaticRIPOptionSetting: OutputBin=FinDONAUProof"
*FoomaticRIPOptionSetting OutputBin=FinDONAUProof: "SET OUTBIN=FINISHERBOOKLET"
*OutputBin MailBoxBin1/Mailbox Tray 1: "%% FoomaticRIPOptionSetting: OutputBin=MailBoxBin1"
*FoomaticRIPOptionSetting OutputBin=MailBoxBin1: "SET OUTBIN=OPTIONALOUTPUTBIN2"
*OutputBin MailBoxBin2/Mailbox Tray 2: "%% FoomaticRIPOptionSetting: OutputBin=MailBoxBin2"
*FoomaticRIPOptionSetting OutputBin=MailBoxBin2: "SET OUTBIN=OPTIONALOUTPUTBIN3"
*OutputBin MailBoxBin3/Mailbox Tray 3: "%% FoomaticRIPOptionSetting: OutputBin=MailBoxBin3"
*FoomaticRIPOptionSetting OutputBin=MailBoxBin3: "SET OUTBIN=OPTIONALOUTPUTBIN4"
*OutputBin MailBoxBin4/Mailbox Tray 4: "%% FoomaticRIPOptionSetting: OutputBin=MailBoxBin4"
*FoomaticRIPOptionSetting OutputBin=MailBoxBin4: "SET OUTBIN=OPTIONALOUTPUTBIN5"
*OutputBin MailBoxBin5/Mailbox Tray 5: "%% FoomaticRIPOptionSetting: OutputBin=MailBoxBin5"
*FoomaticRIPOptionSetting OutputBin=MailBoxBin5: "SET OUTBIN=OPTIONALOUTPUTBIN6"
*OutputBin MailBoxBin6/Mailbox Tray 6: "%% FoomaticRIPOptionSetting: OutputBin=MailBoxBin6"
*FoomaticRIPOptionSetting OutputBin=MailBoxBin6: "SET OUTBIN=OPTIONALOUTPUTBIN7"
*OutputBin MailBoxBin7/Mailbox Tray 7: "%% FoomaticRIPOptionSetting: OutputBin=MailBoxBin7"
*FoomaticRIPOptionSetting OutputBin=MailBoxBin7: "SET OUTBIN=OPTIONALOUTPUTBIN8"
*OutputBin MailBoxBin8/Mailbox Tray 8: "%% FoomaticRIPOptionSetting: OutputBin=MailBoxBin8"
*FoomaticRIPOptionSetting OutputBin=MailBoxBin8: "SET OUTBIN=OPTIONALOUTPUTBIN9"
*OutputBin MailBoxBin9/Mailbox Tray 9: "%% FoomaticRIPOptionSetting: OutputBin=MailBoxBin9"
*FoomaticRIPOptionSetting OutputBin=MailBoxBin9: "SET OUTBIN=OPTIONALOUTPUTBIN10"
*CloseUI: *OutputBin
http://www.openprinting.org/download/PPD/Ricoh/PXL/Ricoh-Aficio_MP_6001_PXL.ppd
So Ricoh DOCU is not good for my model printer.
Bye. -
Sending printer control characters to a printer
I would like to send printer control characters to a printer/plotter. Does anyone have any information or thoughts on how this could be accomplished? For example, I would like to send the printer reset sequence ([esc] E). Is this possible?
Thank You,
BobHi bgblair !!
I�ve done this some time ago...
Here is like i did it:
char esc[] = new char[]{27};//The escape-character
StringBuffer buf = new StringBuffer();//Stringbuffer to app. the whole doc. or pcl-commands
buff.append(""+esc);
....OK...
After i�ve filled the buf i put it into a File and sent it to the printer.
This worked fine for me !!
CU
Ingeling
Maybe you are looking for
-
Re install Adobe Photoshop CS2
31/05/2013. The question is for someone with Photoshop CS2 on Windows 7. I presently had to reformat my hard drive to get rid of a bug that left me with a black screen. After all is reset started to ri install my old programs. One of them is Adobe Ph
-
Which two statements are true about WHERE and HAVING clause ?
Which two statements are true about WHERE and HAVING clause ? 1. WHERE clause can be used to restict rows only 2.HAVING clause can be used to restrict groups only 3.HAVING clause can be used to restrict groups and rows Plz help me in dis ques...which
-
Crystal XI Chinese Character Problem
Hello, I have a report that is out a notes section that may, or may not, contain Chinese characters. This report is loaded from SQL, and is displayed as an RTF field. When I view the report using Cyrstal Reports the Chinese characters appear correctl
-
Why do we need Evet Trace ON/Off
Hi All, Why do we need Evet Trace ON/Off ??? Regards Vamsi
-
I have lost the use of my page back button
Since I recieved a Firefox security update yesterday I am unable to navigate back to the previous page. Also when my opening page loads up it nolonger gives me an address and I have to press the home button