1 Replies - 399 Views - Last Post: 20 September 2017 - 07:41 AM Rate Topic: -----

#1 imagetvr  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 12-April 15

VB6 with Crystal Report 8.5 printing without view in default printer

Posted 20 September 2017 - 05:57 AM

I am using Crystal Report 8.5 in VB6 to Print Invoice .. I am developing this application for my customer. I wish to print invoice without view the report and it should directly print to printer without view in crviewer.
I donít know which printer customer is using. So, Thru coding I wish to print report customerís system default printer.
Here is my code. But no print out coming.
If I choose crystal report 8.5 right click =>Designer=>Printer setup and then select printer I will work.
No printer option is not displayed in printer setup dialog box.
Please give me option to print system default known printer

BILLPRINT.printout False

or


BILLPRINT.PrinterSetup defaultprinter
BILLPRINT.PrintOut False

Both code is not working not printed in systems default printer

Is This A Good Question/Topic? 0
  • +

Replies To: VB6 with Crystal Report 8.5 printing without view in default printer

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 5073
  • View blog
  • Posts: 13,697
  • Joined: 18-April 07

Re: VB6 with Crystal Report 8.5 printing without view in default printer

Posted 20 September 2017 - 07:41 AM

You really should ditch VB6 or tell your customer to ditch it. It is old and really going to be breaking down soon. But to that end, here is an article that features some help that make work for you...

http://visualbasic.i...preview-1235368

I know they are talking about 9.5, but it should be very similar for 8.5.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1