Enlarging the width of a barcode

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
zerocool

Enlarging the width of a barcode

Post by zerocool » Wed Nov 27, 2002 10:02 am

Hi, has anyone ever had to enlarge the width of a barcode, the client would like the barcode ideally stretched across the page, tried enlarging the font with no luck.

Any ideas would be more than appreciated.

The format is just standard, i.e BC_CD39.

Cheers

kumar
Posts: 2012
Joined: Tue Oct 22, 2002 12:51 pm
Location: Basel, Switzerland
Contact:

Post by kumar » Wed Nov 27, 2002 12:13 pm

We are using the Barcode from BRS systems and as per his Docs you have to manipulate your Print Controls for changing any Dimension (Including width) of your Barcode.

You can view your Print Control using TCODE SE73 -> Printer Barcodes -> Display and double click your device type.

Place your cursor on the Prefix of your Barcode and Display Print Control (F9).

KRK

zerocool

?

Post by zerocool » Wed Nov 27, 2002 1:44 pm

thanks kumar,

no idea how to change print controls though, or to what???


Printer manual right???

kumar
Posts: 2012
Joined: Tue Oct 22, 2002 12:51 pm
Location: Basel, Switzerland
Contact:

Post by kumar » Thu Nov 28, 2002 7:15 am

No it is the Barcode Manual.

If you are using brs-online (Repeat, note the IF), they give a Print Control as follows

b%C=128,B=80,H=20,P=1,D=

Where C=128 is the Barcode Selection (Code 128)
B=80 is the Barcode Width (80 mm)
H=20 is the Height (20 mm)
P=1 (Enable check sum) :?:
D= :?:

KRK

TwoABAPers
Posts: 990
Joined: Sun Oct 20, 2002 9:16 pm
Location: web
Contact:

Post by TwoABAPers » Sun Dec 01, 2002 9:09 am

Hi zerocool !!

Assuming you are using BRS Dll for printing Barcodes.

As specified by Kumar, using transaction SE73 --> Printer Barcodes find out the print control for BC_CD39 for the device type you will be using (Again if using BRS-online DLL then SAPWIN or SWIN can only be used)

Then go to transaction SPAD and Utilities --> For Device types --> Print Prntctrls (Report RSPOX22D)

Enter Device type you using and print control you got from SE73 and execute.

You will get the details of print control indicating what character on what location defines the width, height etc.

Now after getting the positions where you need to change to increase the width, please donot touch the standard

Copy the device type you are using to Z ( Say SWIN to ZSWIN)
Go to SE73 --> System barcode copy BC_CD39 to ZBC_CD39.

Then SE73 --> Printer barcode attach ZBC_CD39 to your device type (ZSWIN). Here Assign new print controls say ZBP01 and ZBS01.
Copy these print controls from the print controls of BC_CD39 and then manipulate them as required.

So in your layout set use ZBC_CD39 instead of BC_CD39.

Hope this is clear ..


Regards,
Sudhir/Mohit

Post Reply