Operation not supported on selected printer

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
NatSam
Newbie
Newbie
Posts: 17
Joined: Wed Nov 14, 2007 12:00 am

Operation not supported on selected printer

Post by NatSam » Tue Jun 17, 2008 12:44 pm

One of my users are experiencing the error below:

"Operation not supported on selected printer"

This error occurs when user press "print button" in TeeNavigator.

See log bellow (in Brazilian Portuguese):

Aplicação:
------------------------------------------------------------
1.1 Iniciado em: : Mon, 16 Jun 2008 18:14:17 -0300
1.2 Nome/Descrição : PowerVendas3.exe - (PowerVendas 3)
1.3 Versão Número : 3.1.1.2
1.4 Parametros :
1.5 Data da Compilação: Thu, 15 May 2008 04:23:27 -0300
1.6 Tempo Ativo : 1 minute, 2 seconds

Exceção:
--------------------------------------------------------------------
2.1 Data : Mon, 16 Jun 2008 18:15:19 -0300
2.2 Endereço : 004A8285
2.3 Nome do Módulo : PowerVendas3.exe - (PowerVendas 3)
2.4 Versão do Módulo: 3.1.1.2
2.5 Tipo : EPrinter
2.6 Mensagem : Operation not supported on selected printer.
2.7 ID : 09B2

Controles Ativos:
-----------------------------------------------
4.1 Classe do Formulário: TVendas_e_Pedidos
4.2 Texto do Formulário : Vendas & Orçamentos
4.3 Classe de Controle : TRzPageControl
4.4 Texto do Controle :

Computador:
---------------------------------------------------------------------------------
5.1 Nome : LG-DANCE
5.2 Memória Total : 2047 Mb
5.3 Memória Livre : 920 Mb
5.4 Capacidade Disco : 232,88 Gb
5.5 Espaço Livre em Disco: 27,6 Gb
5.6 Tempo Sistema Ativo : 2 days, 1 hour, 21 minutes, 5 seconds
5.7 Processador : AMD Athlon(tm) 64 Processor 3200+
5.8 Modo do Monitor : 1024 x 768, 32 bit
5.9 DPI do Monitor : 96
5.10 Placa de Vídeo : NVIDIA GeForce FX 5500 (driver 9.6.8.5 - RAM 256 MB)
5.11 Impressora : HP Photosmart C4100 series (driver 6.0.6001.18000)

Sistema Operacional:
--------------------------------------------------------
6.1 Tipo : Microsoft Windows Vista (64 bit)
6.2 Compilação # : 6001
6.3 Atualização : Service Pack 1
6.4 Linguagem : Portuguese
6.5 Página de Código: 0

Requisição:
--------------------------------------------
8.1 : imprimindo grafico analise do pedido
meu sistema windows vista 64

Informação sobre a Pilha de Chamadas:
----------------------------------------------------------------------------------------
|Endereço|Módulo |Unidade |Classe |Procedimento/Método |Linha |
----------------------------------------------------------------------------------------
|Filas sendo executadas: ID=2900; Prioridade=0; Classe=; [Principal] |
|--------------------------------------------------------------------------------------|
|008AB862|PowerVendas3.exe|TeePrevi.pas |TChartPreview|FormShow |237[27]||7683944C|USER32.dll | | |IsWindowVisible | |
|768385EC|USER32.dll | | |GetWindowLongW | |
|7683B4CF|USER32.dll | | |PostMessageW | |
|7683B4DA|USER32.dll | | |PostMessageW | |
|7683ED66|USER32.dll | | |SetWindowPos | |
|7683B4CF|USER32.dll | | |PostMessageW | |
|7683B4DA|USER32.dll | | |PostMessageW | |
|76839470|USER32.dll | | |IsWindowVisible | |
|7683947F|USER32.dll | | |IsWindowVisible | |
|7683CFC0|USER32.dll | | |MonitorFromWindow | |
|7683CFDC|USER32.dll | | |MonitorFromWindow | |
|008FC34D|PowerVendas3.exe|TeeEdiGene.pas| |ChartPreview |147[5] |
|008FC2FC|PowerVendas3.exe|TeeEdiGene.pas| |ChartPreview |142[0] |
|009D0FE7|PowerVendas3.exe|TeeComma.pas |TTeeCommander|ButtonPrintClick |1087[4]|
|76837CA9|USER32.dll | | |KillTimer | |
|768390FB|USER32.dll | | |DispatchMessageA | |
|768390F1|USER32.dll | | |DispatchMessageA | |
|00B11E3C|PowerVendas3.exe|Menu.pas |TMenu_Sistema|Carrega_Formulario |368[9] |
|00B11DB4|PowerVendas3.exe|Menu.pas |TMenu_Sistema|Carrega_Formulario |359[0] |
|00B11D7A|PowerVendas3.exe|Menu.pas |TMenu_Sistema|LMDButton6Click |347[1] |
|77B821BF|ntdll.dll | | |RtlMultiByteToUnicodeN | |
|7683C512|USER32.dll | | |SendMessageW | |
|76838CD9|USER32.dll | | |PtInRect | |
|7683C7B4|USER32.dll | | |TrackMouseEvent | |
|7683C512|USER32.dll | | |SendMessageW | |
|7683C627|USER32.dll | | |InvalidateRect | |
|7683C5CE|USER32.dll | | |InvalidateRect | |
|7683D15E|USER32.dll | | |CallWindowProcA | |
|7683D148|USER32.dll | | |CallWindowProcA | |
|77B735C0|ntdll.dll | | |RtlLeaveCriticalSection| |
|7683B3DE|USER32.dll | | |GetCapture | |
|768390FB|USER32.dll | | |DispatchMessageA | |
|768390F1|USER32.dll | | |DispatchMessageA | |
|75EAE3F1|kernel32.dll | | |BaseThreadInitThunk | |
----------------------------------------------------------------------------------------

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jun 17, 2008 1:19 pm

Hi NatSam,

Can they reproduce the problem in other printers or it only happens with this very specific printer? If so they could try upgrading the printer driver.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

NatSam
Newbie
Newbie
Posts: 17
Joined: Wed Nov 14, 2007 12:00 am

Post by NatSam » Wed Jun 18, 2008 11:03 pm

User already upgraded the printer driver for the last version and the problem remains.

The error also occurs if they select the FAX Printer.

It would be some incompatibility of TeeChart or the Delphi 2007 with Windows Vista 64-bit?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jun 19, 2008 8:30 am

Hi NatSam,

Could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

NatSam
Newbie
Newbie
Posts: 17
Joined: Wed Nov 14, 2007 12:00 am

Post by NatSam » Sat Jun 21, 2008 3:04 pm

Hi,

I installed the Vista 64 bits in my PC and everything here works fine, but my PC uses Core2Quad (Intel) while that of my client uses the Athlon 64 - 3200+ (AMD).

The sample program is very simple:

1) A TeeChart component and create any series
2) A Teecommander Component
3) Link TeeCommander to TeeChart
4) Run the program
5) Click in Print button
6) O Preview select the printer and click on Print

In this example nothing is sent to the printer (on AMD) but in my PC (Intel) the sample program works fine.

As I said, this error occurs only in one of my clients, and he is the only one who has the AMD processor. It may be a error that only occurs with this processor?

Post Reply