Printing reports with barcode (3of9) on HP P3015 printer from iSeries

80 pts.
Tags:
Barcode
HP P3015
IPDS printer
iSeries
We need to print a report containing code 3 of 9 barcodes on our iSeries systems (OS version V5R4), on ethernet-connected HP P3015 printers.  We installed the USB feature HG281US, and the PCL font list now shows the 3of9 font available, but the document will not print properly (many pages of unreadable characters, instead of 1-page report that includes barcode).  It's my thought that we need to change the device settings or create a psfcfg for this particular scenario, which we've attempted, but that's very 'trial and error', and time consuming.  Does anyone have experience with this?

Software/Hardware used:
HP P3015 printer, iSeries V5R4

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 14  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Splat
    Is the print file defined on the iSeries with DEVTYPE(*AFPDS)?  We use networked HP printers all over the facility & print barcode labels on a number of them & I've yet to install any special features on the printers themselves.
    7,185 pointsBadges:
    report
  • bealsbcintascom

    These are just standard reports from the applications, with just a barcode included for scanning a particular field.  We print successfully on Lexmark IPDS printer (with IPDS cards installed), but the HP P3015 is not printing - the printer file on the as/400 is defined as devtype(*IPDS), which has worked for the Lexmarks.

    80 pointsBadges:
    report
  • Splat
    In my experience it's not necessary to define the print files as DEVTYPE(*IPDS).

    Would it be possible for you to change one of the print file definitions to *AFPDS from *IPDS & try it on the HP?  I'm thinking there may be something about the *IPDS data stream that's giving your HP conniptions.
    7,185 pointsBadges:
    report
  • bealsbcintascom
    I'm certainly going to try that!  It's worth a shot, as long as it doesn't play havoc with the Lexmarks, by doing that.   I'll see what happens.  Thanks for the tip - I'll let you know what happens.
    80 pointsBadges:
    report
  • Splat
    If you don't mind, please let me know how that works out for you.
    7,185 pointsBadges:
    report
  • ToddN2000
    How is the printer  and spool file defined ? Are you setting the barcode option in the DDS or using an external package like T.L.AShford? 
    9,915 pointsBadges:
    report
  • bealsbcintascom

    Splat - this appears to work for us (*AFPDS).  We created a dummy spool file with a barcode, using that option, and so far it appears to work on IBM Inforprint, Lexmark IPDS printers, and the HP P3015 (with and without the USB IPDS card).  We need to do some additional work with mix of text and barcodes, but it appears this may resolve our issue.   Thanks for the tip!!!

    ToddN2000 - we are just setting this on the printer file DDS, in this case.  We have TLAshford for some specialized labels we generate, but we're not using it for this application.  Just now will be using the *AFPDS option, even for remote outqs, with no device descriptions.  Seems to be a good option for us.

    80 pointsBadges:
    report
  • Splat
    Glad to know that worked.
    7,185 pointsBadges:
    report
  • bealsbcintascom
    Well, we print a barcode, but when we scan it, the scanner beeps with a 'good scan' indictation, but nothing shows up (no data).  We thought it could be due to a check digit, so added that, but no change in the results.  If you have any thoughts, I'm certainly open to them! 
    80 pointsBadges:
    report
  • bealsbcintascom

    ps:

    A                                      BARCODE(CODE3OF9 2 *HRZ *NO

    A                                      DTH 0.020) (*RATIO 2.00)) 

     

    This is the DDS that built it.

     

    80 pointsBadges:
    report
  • Splat
    Is the problem pervasive (i.e., happening w/ every scanner) or limited? 

    We mostly use CODE128 barcodes but we do use CODE3OF9 in a couple of areas & there hasn't been a problem with them.  Here  are the specifications for the barcode:

    A            B_0_0         10A                                       
    A                                      POSITION(&P_0_V_0 &P_0_H_0)   
    A                                      BARCODE(CODE3OF9 3            
    A                                      (*WIDTH 0.008) (*RATIO 3.00)) 
    and here are the parameters we use on the CRTPRTF command:

    DEVTYPE(*AFPDS) PAGESIZE(28.0 21.5 *UOM) LPI(9) CPI(15) FONT(2304 9.9) UOM(*CM) FORMTYPE(BC_4X10)

    7,185 pointsBadges:
    report
  • bealsbcintascom
    It's indeed pervasive.  Scanner that we test with works on all standard barcodes I've tried, but not this one from our iSeries app.  I'm passing this to our developer, to see where that takes us.  Thanks for the details!!
    80 pointsBadges:
    report
  • bealsbcintascom
    Splat - it worked!  Changing the code around per your suggestions, we've successfully printed the 3of9 barcode on two different HP printers, a Lexmark, and an IBM Infoprint, with the same exact code/printer file.   Thanks SO much for the tips!
    80 pointsBadges:
    report
  • Splat
    Not certain what it was that made the difference (offhand I'd suspect the ratio, but I wouldn't bet the farm on it), but I'm glad it worked for you.
    7,185 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following