|
by: Brian Hanson |
last post by:
Hi,
I am trying to programmatically print a pdf file via an asp.net
application.
I have seen other postings that mention the following code used or
something similar to it in a vb.net app.
Process.Start("C:\Program Files\Adobe\Acrobat
5.0\Reader\AcroRd32.exe", "/p
/h ""C:\Program Files\Adobe\Acrobat 5.0\Help\ENU\ACROBAT.PDF""")
|
by: RBisch |
last post by:
I am finding that some of the properties off of the PrinterSettings object are misleading
For example,
When I test the CanDuplex on a printer I know duplexes, the property is false. Another one is DefaultPrinter, it is set to false when I know that I have that printer set as default (I verify via the "Printers and Fax" applet
Can anyone confirm or explain
TIA
|
by: Mark Preston |
last post by:
Admission first - I don't actually have a problem here but have noticed
that a lot of people have been asking similar questions and getting very
varied answers. What I've done is to sort of "compile the questions"
into a theoretical problem to see what people think should be done to
solve it.
Maybe it will be a worthwhile discussion, but more importantly maybe it
will find out the very best way to sort this kind of problem out so that...
|
by: Karthik |
last post by:
Well I am coding an application using C# for my company which requires
multiple printing of Crystal Report Docs & Word Docs, at a specific Printer
of the installed Printers in the network, at a specific tray and some more
settings too.
since I'm trying with the network printer I've installed a local driver
using the local port as suggested by one of the MS support site.
The definition of the Printer & Tray is happening from the code...
|
by: H. Williams |
last post by:
I am trying to programmatically change printing preferences (not printer
settings). For example, preferences specific to a printer like watermark or
pages per sheet. I have tried using the PrintDocument.PrinterSettings
class, but it only exposes the basic printer settings. I have been able to
use SystemManagement.ManagementObject.Properties to expose additional
printer settings, but I can't seem to find the preferences. Anyone know how...
|
|
by: John Peterson |
last post by:
Hello all!
I'm at my wits end trying to search for what I assumed to be a relatively
straightforward task. I have a Web application written in C#, and I have a
button on the form that I want to print the current contents of the browser
without bringing up the print dialog.
At first I thought it was a simple matter to have the button's "onclick"
attribute set to "window.print();". However, that always brings up the
print dialog box. ...
|
by: sathyp |
last post by:
Public Function SetPrinterDefaultsW(ByVal sPrinterName As String, _
ByVal nPaperSize As Long, ByVal nOrientation As Long) As Boolean
Dim Prn As Printer
Dim hPrinter As Long
Dim pd As PRINTER_DEFAULTS
Dim pinfo2 As PRINTER_INFO_2
Dim pinfo8 As PRINTER_INFO_8
Dim pinfo9 As PRINTER_INFO_9
Dim dm As DEVMODEW
Dim yDevModeData() As Byte
|
by: Frank Rizzo |
last post by:
I am trying to print huge images (much bigger than target paper). I try
and use e.PageSettings.HardMarginX and e.PageSettings.HardMarginY in the
PrintDocument's PrintPage event to try and determine the maximum area
that I can print on. However, the edge of the image invariably gets cut
off, as if the HardMargin info is wrong. I posted the code below as I
can't understand what I am doing wrong. Is information in
e.PageSettings reliable?...
|
by: rlntemp-gng |
last post by:
Re: Access 2003
My client has a printer that can print single-sided or double-sided.
The default settings for this printer in Windows is double-sided
printing for the bulk of their work.
Their Access app has two reports, and they want Report1 to always
print single-sided and they want Report2 to always print double-sided.
I checked the preferences in "Page Setup" for each independent report
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|