|
by: hari krishna |
last post by:
hi,
i am using window.print to print some details that are fetched on to an ASPX
page.
since its a long list, it should be printed in Landscape. when window.print
command is executed, a printer settings dailogue box is appeared and need to
set the orientation to landscape.
I need to give my user a facility to print it in Landscape orientation
automatically.
How to setup landscape for the orientation in printer settings through the
|
by: KiwiPrinter |
last post by:
I am trying to find and then set printer driver specific features such as
staple or mail box. Some of the features I need to get / set are not members
of the standard DEVMODE. I need to be able to set any printer feature without
user intervention, therefore I can't use any dialogues. I may not know ahead
of time what all the printer settings will be so need to be able to list and
set all.
I have had no luck finding any Visual Basic .Net...
|
by: Rick Collard |
last post by:
I have been experimenting with the new Printer object in Access 2002
and discovered some unexpected database bloat. Simply assigning the
same value to a property of a report's Printer object will cause the
database to grow. Here's my test code:
Public Sub ChangeReportSettings( _
sReport As String, _
sDeviceName As String, _
Optional nIterations As Long = 1)
|
by: Eric |
last post by:
Hi,
I've been trying in vain to get the number of copies a user wants to
print after they've closed the PrintDialog form. Apparantly this value
is sometimes found in the DEVMODE struct for the particular
printDialog's document's printerSettings. I've followed some of the
other posts on this topic and I can get the struct and the printer
name seems to be correct, but everything else is garbage. Any idea
what might be going wrong? I'm...
|
by: Bruce Wood |
last post by:
I'm having a devil of a time calling DeviceCapabilities() in order to
get the list of paper names / codes / sizes for a printer. Here is my
code and the input it produces:
static extern Int32 DeviceCapabilities(
string device,
string port,
Int16 capability,
out IntPtr outputBuffer,
|
|
by: Anthony Nystrom |
last post by:
I need to within code control some printer settings before raising the print dialog... I need to set some properties for the printer such as "The Printer to Print too", Page settings such as paper type (according to the list associated with the printer driver itself) and orientation... It would be nice to programmically control the printer, paper settings and orientation all together to avoid the print dialog and the potential for the user to...
|
by: Flavio Zanellato |
last post by:
Hello,
anybody has worked with the
DEVMODE structure
and the page settings properties ?
I've not seen a way to
- get the actual DEVMODE data from a default printer
- change any setting
- copy back to the DEVMODE structure to the default printer
|
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: ADezii |
last post by:
Recently, there seems to be several questions specifically related to Printers and changing Printing characteristics for Forms and Reports. For this reason alone, I decided to dedicate this week's Tip to these Topics. The Tip will actually consist of several Tips which I feel are very useful for all Users, from Newbies to Experts. In order to utilize the code contained within these Tips, you must have Access 2002 or later.
How can I...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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...
|