Good day,
I'm trying to develop one of my own applications in VB6 and I wanted to print out a receipt(created from crystal report 8.5) automatically? I use this simple code just to view a sample report:

Note: used the crystal report ocx for this one

VB Code:
  1. With CrystalReport1
VB Code:
  1. .DataFiles(0) = XXXXXXXXXXXX
VB Code:
  1. .ReportFileName = XXXXXXXXX
VB Code:
  1. .Action = 1
VB Code:
  1. End With


but I want to know how to print a report without having to view it. Can you help me please?