慢打印预览 [英] Slow Print Preview

查看:123
本文介绍了慢打印预览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Access 2007 前端数据库和一个后端数据库(Access 2002),它们都在网络服务器上运行。 数据库中可能有1到5个用户。 他们最近搬进了新大楼和新服务器。 
这是大多数问题变得极端的时候。 在他们真正坐在服务器上的地方之前。

I have an Access 2007 frontend database and a backend database (Access 2002) that both run on a network server.  There maybe anywhere from 1 to 5 users in the database.  They have recently moved into a new building and to a new server.  This is when most of the problems became extreme.  Before they where on a server where they practically sat on it.

当他们打开他们的数据库时,可能需要5秒钟。 然后他们可以进入开放订单,这可能需要5秒钟。 这些时间不会打扰我。 然后,他们可以打开一个包含四个子表单的表单,这可能需要大约5或6秒。 
但真正的问题发生在他们去生产订单时。 当他们点击按钮并运行一个函数,重新排序指令的步骤(可能最多30行),然后在打印预览中打开表单。 这部分是
,需要1.5到2分钟。 打印时间更长。 然后,他们可以选择通过电子邮件发送报告。 在创建电子邮件之前,它将2个报告作为pdf复制到服务器上的文件,创建然后附加两个
文件并显示电子邮件。 这部分只需要大约60到75秒。

When they open their database it takes maybe 5 seconds.  They can then go to Open Orders which might take 5 seconds.  These times do not bother me.  They can then open a form that contains four subforms which probably takes about 5 or 6 seconds.  But the real problem occurs when they go to produce the order.  When they click on the button and I run a function that reorders the steps to the instructions (maybe at the most 30 lines) and then the form is opened in print preview.  This part is taking somewhere between 1.5 to 2 minutes.  It takes even longer to print.  Then they have the option to email the report.  Before the email is created it copies the 2 reports as a pdf to a file on the server, creates and then attaches the two files and displays the email.  This part is only taking about 60 to 75 seconds.

我们有各种网络专家正在研究这是否是一个网络问题(他们遇到了其他应用程序的问题)他们说它不是网络问题。 我不是网络大师,但他告诉我SMB2服务
显示"阅读"和"阅读"。过程只是以非常小的(4K)块而不是32K或64K块请求数据。 他建议在哪里经常压缩(我们是),重新索引(在压缩过程中重新索引吗?),并增加
最小I / O请求大小(你怎么做)。

We have had various network experts looking to see if this is a network problem (they were having issues with other applications) and they say it is not a network problem.  I am not a network guru by any means but he is telling me that the SMB2 Service shows that the "Read" procedure was only requesting data in very small (4K) chunks instead of 32K or 64K chunks.  His suggestions where to compact frequently (which we are), reindexing (does it reindex during compact?), and increase the minimum I/O request size (how do you do this).

我尝试将前端数据库移动到每个用户的各个桌面。 我已经取消了所有计时器。 我的努力都没有奏效。 问题是当只有一个用户时,它可以正常工作。 打印预览和打印
功能会在2至3秒内弹出。 当另一个用户打开数据库时,响应时间急剧下降。

I have tried moving the frontend database to the individual desktops for each user.  I have taken off all timers.  None of my efforts have worked.  The problem is that it works fine when only 1 user is in it.  The print preview and print functions pop up in 2 to 3 seconds.  The moment another user opens the database, the response time drops drastically.

帮助!!!!

推荐答案

Hi,

感谢您在此处发帖。

Thanks for posting here.

此论坛适用于开发人员讨论和涉及Microsoft Access的问题,如表单设计,表设计,查询,DAO

This forum is for Developer discussions and questions involving Microsoft Access, like Form design, Table design, query, DAO

我很抱歉我们可能不提供有价值的建议或解决方法。

I do apologize that we might not offer valuable suggestion or workaround for you.

 

此外, 
项目打印所需的时间取决于两个基本因素:打印机的速度和项目的大小(和复杂性)。打印机速度不仅仅是打印机每分钟打印多少页的因素。使用打印机(如果在网络上)的
人数,打印机和计算机中的RAM数量以及打印机的网络设置都会影响打印机速度。

Besides,  the amount of time it takes for a project to print depends on two basic factors: the speed of the printer and the size (and complexity) of your project. Printer speed is not solely a factor of how many pages a printer prints per minute. The number of people using the printer (if it is on a network), the amount of RAM in the printer and your computer, and the network settings for the printer all factor into printer speed.

就我而言,您可以进行一些调整,例如限制用户数以提高速度。

As far as I am concerned, you could make some adjustment for example limiting the number of the users to increase speed.

 

抱歉给您带来不便,祝您有个愉快的一天! 

Sorry for any inconvenience and have a nice day! 

问候,

Celeste


这篇关于慢打印预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆