on 05-15-2007 4:07 PM
How do you reset this? I can print a label landscape using this, but then the next different label I print is landscape when it should be portrait. The printer is retaining the command. If I try to set the spool parameter to space or to ^FWN, I get an sap error that I can't set the spool parameter again.
Hi,
You an achieve this as follows.
Firstly, in the used device type, you need to create two print controls containing the commands ^FWR and ^FWN via transaction SPAD:
SPAD -> Full Admin -> Device Types -> e.g. LZEB2 -> tab Print Controls
Here add the new print control commands: e.g.
ZROT: ^FWR
ZNOR: ^FWN
In the smartform, within the window where you need text rotated, create a new command node and issue print control ZROT. Then later in the smartform, where you want the text orientation back to normal, you should create another command node and issue the second print control.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
This is the potential problem which even we have faced and the reason is once you have rotated the mode of Zebra to Landscape the command recides in zebra printer' memory and it makes subsequent print to come in landscape . This is a potential problem and there are few solution . i assume you are using S_LZPL_SETUP
attribute value = '^FWR' to rotate it to landscape ..
1. switch off and on the printer(not advisable it will erase the command you sent and will print subsequent print in normal mode )
2. Call a dummy smart form with just one line of command and the command shoulld say attribute = S_LZPL_SETUP
attribute value = '^FWN' .
call this dummy smart form every time after you have printed landscape form . it will rotate the Zebra printer mode to normal and will solve your purpose . You may ask me this why can't i put the command in last of my data to rotate it back to normal i don't know the answer but it does not works.
so the solution .
-calll your smart form
-call dummy smart form with nothing but just a command S_LZPL_SETUP attribute value = '^FWN' .
4. there is another option of including printer control that i have not tried yet becuase printer control should come from printer manufacturer and that involves a lot of taliking from Zebra and SAP.
Thanks,
Anjaneya .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.